RelativeRectangle.FromScale

RelativeRectangle.FromScale method

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

public static RelativeRectangle FromScale(float scaleX, float scaleY, float scaleWidth, 
    float scaleHeight)
ParameterTypeDescription
scaleXSingle
scaleYSingle
scaleWidthSingle
scaleHeightSingle

See Also