scale method

scale

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

def scale(self, scale_x, scale_y):
    ...
ParameterTypeDescription
scale_xfloatThe scale x.
scale_yfloatThe scale y.

scale

Applies the specified scale vector (scaleX and scaleY) to this Matrix in order specified by matrix_order.

def scale(self, scale_x, scale_y, matrix_order):
    ...
ParameterTypeDescription
scale_xfloatThe scale X.
scale_yfloatThe scale Y.
matrix_orderaspose.pydrawing.drawing2d.MatrixOrderThe order.

See Also