Name | Description | |
---|---|---|
Area | Obtains the rectangle area (Width * Height). | |
Bottom | Gets the bottom side of the rectangle | |
BottomCenter | Gets the bottom center point | |
Bounds | Gets the minimal enclosing rectangle | |
BoundsRange | ||
Center | Gets the rectangle center | |
CenterX | Gets the X center | |
CenterY | Gets the X center | |
IsEmpty | Determines whether the rectangle is with zero Width or Height. | |
IsNormalized | Determines whether the rectangle is normalized (both width and height are not negative). | |
IsValid | Indicates whether all fields of the rectangle are defined, i.e. whether X, Y, Width and Height are all different from Double.NaN. | |
Left | Gets the left side of the rectangle | |
LeftBottom | Gets the rectangle left bottom corner | |
LeftCenter | Gets the left center point | |
LeftTop | Gets or sets the rectangle left-top corner (location) | |
Location | Gets or sets the rectangle location (left-top corner) | |
Middles | Gets an array with the rectangle sides middle points | |
Perimeter | Obtains the rectangle perimeter (2 * Width) + (2 * Height). | |
Right | Gets the right side of the rectangle | |
RightBottom | Gets the rectangle right bottom corner | |
RightCenter | Gets the right center point | |
RightTop | Gets the rectangle right top corner | |
Size | Gets or sets the size of this rectangle | |
Top | Gets the top side of the rectangle | |
TopCenter | Gets the top center point | |
Vertices | Gets an array with the rectangle vertices | |
VerticesAndMiddles | Gets an array with the rectangle vertices and middles enumerated clockwise starting from the left-top vertex |