FromScale

RelativeRectangle.FromScale method

构造一个RelativeRectangle给定参数的所有偏移字段为零和缩放字段。

public static RelativeRectangle FromScale(float scaleX, float scaleY, float scaleWidth, 
    float scaleHeight)
范围类型描述
scaleXSingle
scaleYSingle
scaleWidthSingle
scaleHeightSingle

也可以看看