Rectangle
Contents
[
Hide
]Rectangle class
Stores a set of four integers that represent the location and size of a rectangle.
The Rectangle type exposes the following members:
Constructors
| Name | Description |
|---|---|
| Rectangle(x, y, width, height) | Initializes a new instance of the Rectangle class |
| Rectangle() | Initializes a new instance of the Rectangle class |
Properties
| Name | Description |
|---|---|
| empty | Gets a new instance of the |
| left | Gets or sets the x-coordinate of the left edge of this |
| top | Gets or sets the y-coordinate of the top edge of this |
| right | Gets or sets the x-coordinate that is the sum of |
| bottom | Gets or sets the y-coordinate that is the sum of the |
| is_empty | Gets a value indicating whether all numeric properties of this |
| height | The rectangle width. |
| width | The rectangle height. |
| x | The rectangle x location. |
| y | The rectangle y location. |
Methods
| Name | Description |
|---|---|
| contains(x, y) | Determines if the specified point is contained within this |
See Also
- namespace aspose.ocr
- assembly Aspose.ocr