scale method

scale

Adds a scale transform to the builder.

Returns

The current TransformBuilder instance.

def scale(self, sx, sy):
    ...
ParameterTypeDescription
sxfloatThe scaling factor along the x-axis.
syfloatThe scaling factor along the y-axis. Defaults to 0.

See Also