Rect Properties
.NET Framework 4.5
The Rect type exposes the following members.
| Name | Description | |
|---|---|---|
|
Bottom | Gets the y-axis value of the bottom of the rectangle. |
|
BottomLeft | Gets the position of the bottom-left corner of the rectangle |
|
BottomRight | Gets the position of the bottom-right corner of the rectangle. |
|
Empty | Gets a special value that represents a rectangle with no position or area. |
|
Height | Gets or sets the height of the rectangle. |
|
IsEmpty | Gets a value that indicates whether the rectangle is the Empty rectangle. |
|
Left | Gets the x-axis value of the left side of the rectangle. |
|
Location | Gets or sets the position of the top-left corner of the rectangle. |
|
Right | Gets the x-axis value of the right side of the rectangle. |
|
Size | Gets or sets the width and height of the rectangle. |
|
Top | Gets the y-axis position of the top of the rectangle. |
|
TopLeft | Gets the position of the top-left corner of the rectangle. |
|
TopRight | Gets the position of the top-right corner of the rectangle. |
|
Width | Gets or sets the width of the rectangle. |
|
X | Gets or sets the x-axis value of the left side of the rectangle. |
|
Y | Gets or sets the y-axis value of the top side of the rectangle. |