scale method

scale

Scales the current transformation matrix. Calls writeTransform(Transform).

def scale(self, x, y):
    ...
ParameterTypeDescription
xfloatA scale in X axis.
yfloatA scale in Y axis.

See Also