由整数类型的 x、y、宽度、高度定义的 2D 矩形。
allPositionsWithin | 包含 RectInt 中所有位置的 RectInt.PositionCollection。 |
center | 矩形的中心坐标。 |
height | 矩形的高度。 |
max | The upper right corner of the rectangle; which is the maximal position of the rectangle along the x- and y-axes, when it is aligned to both axes. |
min | The lower left corner of the rectangle; which is the minimal position of the rectangle along the x- and y-axes, when it is aligned to both axes. |
position | 返回 RectInt 的位置 (x, y)。 |
size | 返回 RectInt 的宽度和高度。 |
width | 矩形的宽度。 |
x | 矩形的左坐标。 |
xMax | Shows the maximum X value of the RectInt. |
xMin | Shows the minimum X value of the RectInt. |
y | 矩形的上坐标。 |
yMax | Shows the maximum Y value of the RectInt. |
yMin | Show the minimum Y value of the RectInt. |