Rectangle class
Leave feedback
On this page
Represents a set of four integers that define the location and size of a rectangle.
The Rectangle type exposes the following members:
| Method | Description |
|---|---|
| to_string | Returns a string that represents this instance. |
| Property | Description |
|---|---|
| bottom | The y-coordinate that is the sum of the Y and Height property values of the rectangle. |
| height | The height of the rectangle. |
| is_empty | The rectangle is empty. |
| left | The x-coordinate of the left edge of the rectangle. |
| right | The x-coordinate that is the sum of X and Width property values of the rectangle. |
| top | The y-coordinate that is the sum of the Y and Height property values of the rectangle. |
| width | The width of the rectangle. |
| x | The x value of the rectangle. |
| y | The y. |
| Field | Description |
|---|---|
| EMPTY | Gets the empty rectangle. |
- module
groupdocs.metadata.common
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.