Rectangle Properties |
The Rectangle type exposes the following members.
Name | Description | |
---|---|---|
Bottom |
Gets or sets the logical bottom of this rectangle (Y + Height if Height is positive, Y + 1 if negative)
| |
BottomLeft | ||
BottomRight | ||
Center |
Gets or sets the rectangle's center position
| |
EndLocation |
Gets the ending location of this rectangle
| |
Height |
Gets or sets the Height of this rectangle
| |
InnerBottom |
Gets or sets the bottom of the rectangle that is inside the bounds
| |
InnerBottomLeft |
Gets or sets the point at the InnerBottom and Left of the rectangle
| |
InnerBottomRight |
Gets or sets the point at the InnerBottom and InnerRight of the rectangle
| |
InnerRight |
Gets or sets the right of the rectangle that is inside the bounds
| |
InnerTopRight |
Gets or sets the point at the Top and InnerRight of the rectangle
| |
IsEmpty |
Gets a value indicating that the Size of this rectangle is empty (either the width or height are zero)
| |
IsZero |
Gets a value indicating that both the and Size of this rectangle are zero
| |
Left |
Gets or sets the logical left of this rectangle (X co-ordinate if Width is positive, X + Width if negative)
| |
Location |
Gets the location of this rectangle
| |
MiddleBottom | ||
MiddleLeft | ||
MiddleRight | ||
MiddleTop | ||
MiddleX |
Gets or sets the rectangle's middle horizontal position
| |
MiddleY |
Gets or sets the rectangle's middle vertical position
| |
Right |
Gets or sets the logical right of this rectangle (X + Width if Width is positive, X + 1 if negative)
| |
Size |
Gets or sets the size of the rectangle
| |
Top |
Gets or sets the logical top of this rectangle (Y co-ordinate if Height is positive, Y + Height if negative)
| |
TopLeft | ||
TopRight | ||
Width |
Gets or sets the Width of this rectangle
| |
X |
Gets or sets the X co-ordinate of the Location of this rectangle
| |
Y |
Gets or sets the Y co-ordinate of the Location of this rectangle
|