scale method

scale

Applies the specified scale vector (scaleX and scaleY) to this Matrix using (default) Prepend order.

def scale(self, sx, sy):
    ...
ParameterTypeDescription
sxfloatThe sx. The sx. The sx.
syfloatThe sy. The sy. The sy.

scale

Applies the specified scale vector (scaleX and scaleY) to this Matrix using the specified order.

def scale(self, scale_x, scale_y, order):
    ...
ParameterTypeDescription
scale_xfloatThe scale X.
scale_yfloatThe scale Y.
orderMatrixOrderThe order.

See Also