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 this rectangle. | |
Height | Gets or sets the height of this rectangle. | |
IsEmpty | Tests whether the size of this rectangle less or equal 0. | |
Left | Gets the x-coordinate of the left edge of this rectangle. | |
Location | Gets or sets the coordinates of the upper-left corner of this rectangle. | |
Right | Gets the x-coordinate of the right edge of this rectangle. | |
Size | Gets or sets the size of this rectangle. | |
Top | Gets the y-coordinate of the top edge of this rectangle. | |
Width | Gets or sets the width of this rectangle. | |
X | Gets or sets the x-coordinate of the upper-left corner of this rectangle. | |
Y | Gets or sets the y-coordinate of the upper-left corner of this rectangle. |
Name | Description | |
---|---|---|
Contains | Overloaded. Determines if the specified point is contained within this rectangle. | |
Equals | Determines whether the specified System.Object is equal to this instance. | |
FromLTRB | Creates a Rect with the specified edge locations. | |
GetHashCode | Returns a hash code for this instance. | |
Inflate | Overloaded. Enlarges this Rect by the specified amount. | |
Intersect | Overloaded. Replaces this Rect with the intersection of itself and the specified Rect. | |
IntersectsWith | Determines if this rectangle intersects with specified rectangle. | |
Offset | Overloaded. Adjusts the location of this rectangle by the specified amount. | |
Scale | Overloaded. Scales the rectangle by specified scale factor. | |
ToString | Returns a System.String that represents this instance. | |
Union | Creates a Rect structure that contains the union of two Rect structures. |