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)
Parameter Type Description
scaleX Single
scaleY Single
scaleWidth Single
scaleHeight Single

See Also