scale method

scale

Applies the specified scale vector to the current transformation matrix.

def scale(self, x, y):
    ...
ParameterTypeDescription
xfloatThe x scale factor.
yfloatThe y scale factor.

See Also