Rectangle |
The RectangleD2D type exposes the following members.
| Name | Description | |
|---|---|---|
| Bottom | Gets the y coordinate of the bottom. | |
| BottomHalf | Gets a new rectangle that is the bottom half of this rectangle. | |
| CenterBottom | Gets the center(x)-bottom(y) point of the rectangle. | |
| CenterCenter | Gets the center(x)-center(y) point of the rectangle. | |
| CenterTop | Gets the center(x)-top(y) point of the rectangle. | |
| Empty | Gets the empty rectangle with the location (0, 0). | |
| Height | Gets or sets the height of the rectangle. | |
| IsEmpty | Gets a value indicating whether the rectangle is empty. Per definition, it is empty if both width and height are zero. | |
| Left | Gets the x coordinate of the left. | |
| LeftBottom | Gets the left(x)-bottom(y) point of the rectangle. | |
| LeftCenter | Gets the left(x)-center(y) point of the rectangle. | |
| LeftHalf | Gets a new rectangle that is the left half of this rectangle. | |
| LeftTop | Gets the left(x)-top(y) point of the rectangle. | |
| Location | Gets or sets the location (of the left-top corner of the rectangle). | |
| OuterCircleBoundingBox | Gets a rectangle that includes the smallest circle around this rectangle. | |
| Right | Gets the x coordinate of the right. | |
| RightBottom | Gets the right(x)-bottom(y) point of the rectangle. | |
| RightCenter | Gets the right(x)-center(y) point of the rectangle. | |
| RightHalf | Gets a new rectangle that is the right half of this rectangle. | |
| RightTop | Gets the right(x)-top(y) point of the rectangle. | |
| Size | Gets or sets the size of the rectangle. | |
| Top | Gets the y coordinate of the top. | |
| TopHalf | Gets a new rectangle that is the top half of this rectangle. | |
| Vertices | Gets the vertices in binary order (x: 0th digit, y: 1st digit). | |
| Width | Gets or sets the width of the rectangle. | |
| X | Gets or sets the x location (the x coordinate of the left side). | |
| Y | Gets or sets the y location (the y coordinate of the top side). |