from_scale method

from_scale

Construct a RelativeRectangle with all offset fields zero and scale fields from given parameters.

Returns

def from_scale(self, scale_x, scale_y, scale_width, scale_height):
    ...
ParameterTypeDescription
scale_xfloat
scale_yfloat
scale_widthfloat
scale_heightfloat

See Also