Name | Description | |
---|---|---|
![]() | Rect Constructor | Overloaded. |
The following tables list the members exposed by Rect.
Name | Description | |
---|---|---|
![]() | Rect Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Bottom | Gets the Y coordinate of the bottom edge of the current Rect structure. |
![]() | BottomLeft | Gets the coordinates of the bottom left corner of the current Rect structure. |
![]() | BottomRight | Gets the coordinates of the bottom right corner of the current Rect structure. |
![]() ![]() | Empty | Represents an empty instance of the Rect structure. |
![]() | Height | Gets or sets the height of the current Rect structure. |
![]() | IsEmpty | Gets a value indicating whether the Rect.Width and Rect.Height properties of the current Rect structure have zero values. |
![]() | Left | Gets the X coordinate of the left edge of the current Rect structure. |
![]() | Location | Gets or sets the coordinates of the top left corner of the current Rect structure. |
![]() | Right | Gets the X coordinate of the right edge of the current Rect structure. |
![]() | Size | Gets or sets the size of the current Rect structure. |
![]() | Top | Gets the Y coordinate of the top edge of the current Rect structure. |
![]() | TopLeft | Gets the coordinates of the top left corner of the current Rect structure. |
![]() | TopRight | Gets the coordinates of the top right corner of the current Rect structure. |
![]() | Width | Gets or sets the width of the current Rect structure. |
![]() | X | Gets or sets the X coordinate of the top left corner of the current Rect structure. |
![]() | Y | Gets or sets the Y coordinate of the top left corner of the current Rect structure. |
Name | Description | |
---|---|---|
![]() | Contains | Overloaded. Tests whether the specified point is contained within the current Rect. |
![]() | Deflate | Deflates the current Rect by the specified amounts provided as Thickness. |
![]() | Equals | Indicates whether this instance and a specified object are equal. |
![]() ![]() | FromLTRB | Creates a Rect structure based on the coordinates of its top-left and bottom-right corners. |
![]() | GetHashCode | Returns the hash code for this instance. |
![]() | Inflate | Overloaded. Inflates the current Rect by the specified amounts on four sides. |
![]() | Intersect | Overloaded. Replaces the current Rect structure with the intersection of itself and another Rect. |
![]() | IntersectsWith | Tests whether the current Rect intersects with another. |
![]() | Offset | Overloaded. Offsets the location of the current Rect by specified horizontal and vertical amounts. |
![]() ![]() | Parse | Converts a string to a Rect structure. |
![]() | ToRectangle | Converts the current Rect to a System.Drawing.Rectangle. |
![]() | ToRectangleF | Converts the current Rect to a System.Drawing.RectangleF. |
![]() | ToString | Converts the current Rect structure to a human-readable string representing it. |
![]() ![]() | Union | Creates a new Rect structure representing the smallest possible rectangle containing the two specified rectangles. |
![]() | Indicates whether two Rect structures are equal. |
![]() | Overloaded. Converts a System.Drawing.Rectangle to a Rect. |
![]() | Indicates whether two Rect structures are not equal. |