[]
Represents the Rect.
public struct Rect<T> where T : struct
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| Rect(Point<T>, Size<T>) | Initializes a new instance of the Rect<T> struct. |
| Rect(T, T, T, T) | Initializes a new instance of the Rect<T> struct. |
| Name | Description |
|---|---|
| Empty | The empty instance ofthe Rect structure. |
| Name | Description |
|---|---|
| Height | Gets the height of this Rect structure. |
| Left | Gets the x-coordinate of the left edge of this Rect structure. |
| Location | Gets a Point<T> that represents the upper-left corner of the Rect. |
| Size | Gets a Size that represents the width and height of the Rect. |
| Top | Gets the y-coordinate of the top edge of this Rect structure. |
| Width | Gets the width of this Rect structure. |