包含
Rectangle.Contains method
确定指定点是否位于此 Rectangle 结构内。
public bool Contains(int x, int y)
| Parameter | Type | 描述 |
|---|---|---|
| x | Int32 | 要测试的点的 x 坐标。 |
| y | Int32 | 要测试的点的 y 坐标。 |
返回值
如果由 x 和 y 定义的点位于此 Rectangle 结构中,则此方法返回 true;否则返回 false。
另请参见
- struct Rectangle
- namespace Aspose.OCR
- assembly Aspose.OCR