Rectangle

Rectangle constructor

创建 Rectangle 的新实例

public Rectangle(float x, float y, float width, float height)
范围 类型 描述
x Single 矩形的X位置
y Single 矩形的 Y 位置
width Single 矩形的宽度
height Single 矩形的高度

也可以看看