scale method

scale

Adds scale to current graphics state (scale current matrix).

def scale(self, x_scale, y_scale):
    ...
ParameterTypeDescription
x_scalefloatThe scale in X axis.
y_scalefloatThe translation in Y axis.

See Also