Thickness class
Leave feedback
On this page
Describes the thickness of a frame around a rectangle.
The Thickness type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new Thickness instance with specific lengths applied to each side of the rectangle. |
| init | Initializes a new Thickness instance with the specified uniform length on each side. |
| Method | Description |
|---|---|
| equals | Determines whether the specified Thickness is equal to the current Thickness. |
| equals_object | |
| get_hash_code | Returns the hash code for this instance. |
| to_string | Returns the string representation of the Thickness class. |
| Property | Description |
|---|---|
| bottom | The width of the bottom side of the bounding rectangle. |
| left | The width of the left side of the bounding rectangle. |
| right | The width of the right side of the bounding rectangle. |
| top | The width of the top side of the bounding rectangle. |
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.