scale method

scale

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

def scale(self, sx, sy):
    ...
ParameterTypeDescription
sxfloatA scale in X axis.
syfloatA scale in Y axis.

See Also