Name | Description | |
---|---|---|
Rect Constructor | Initializes a new instance of the Rect struct with the specified coordinates. |
The following tables list the members exposed by Rect.
Name | Description | |
---|---|---|
Rect Constructor | Initializes a new instance of the Rect struct with the specified coordinates. |
Name | Description | |
---|---|---|
Bottom | Gets the y-coordinate that is the sum of Top and Height property values of this Rect structure. | |
Height | Gets or sets the height of this Rect structure. | |
Left | Gets the x-coordinate of the left edge of this Rect structure. | |
Right | Gets the x-coordinate that is the sum of Left and Width property values of this Rect structure. | |
Top | Gets the y-coordinate of the top edge of this Rect structure. | |
Width | Gets or sets the width of this Rect structure. | |
X | Gets or sets the x-coordinate of the left edge of this Rect structure. | |
Y | Gets or sets the y-coordinate of the top edge of this Rect structure. |
Name | Description | |
---|---|---|
Contains | Determines if the specified point is contained within this Rect structure. | |
Inflate | Enlarges a Rectangle structure by the specified amount. | |
Intersect | Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned. | |
IntersectsWith | Determines if this rectangle intersects with rect. | |
Offset | Adjusts the location of this rectangle by the specified amount. | |
Union | Gets a Rect structure that contains the union of two Rect structures. |