Rect Structure |
public struct Rect
The Rect type exposes the following members.
| Name | Description | |
|---|---|---|
| Rect | Initializes a new instance of the Rect struct with the specified width and height. |
| Name | Description | |
|---|---|---|
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Height | Returns the height of the rectangle (Bottom - Top). | |
| IsValid | Returns true if the rectangle has positive width and height. | |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) | |
| Width | Returns the width of the rectangle (Right - Left). |
| Name | Description | |
|---|---|---|
| Bottom | The bottom coordinate of the rectangle. | |
| Left | The left coordinate of the rectangle. | |
| Right | The right coordinate of the rectangle. | |
| Top | The top coordinate of the rectangle. |