Contains
Contains(int, int)
确定指定点是否包含在此范围内Rectangle结构.
public bool Contains(int x, int y)
| 范围 | 类型 | 描述 |
|---|---|---|
| x | Int32 | 要测试的点的 x 坐标。 |
| y | Int32 | 要测试的点的 y 坐标。 |
返回值
如果定义的点由x和y包含在这个Rectangle结构体;否则为假。
也可以看看
- struct Rectangle
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging
Contains(Point)
确定指定点是否包含在此范围内Rectangle结构.
public bool Contains(Point point)
| 范围 | 类型 | 描述 |
|---|---|---|
| point | Point | 这Point去测试。 |
返回值
如果表示的点由此方法返回 truepoint包含在这个Rectangle结构体;否则为假。
也可以看看
- struct Point
- struct Rectangle
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging
Contains(Rectangle)
确定矩形区域是否由rect完全包含在这个Rectangle结构.
public bool Contains(Rectangle rect)
| 范围 | 类型 | 描述 |
|---|---|---|
| rect | Rectangle | 这Rectangle去测试。 |
返回值
如果矩形区域由rect完全包含在这个Rectangle结构体;否则为假。
也可以看看
- struct Rectangle
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging