Rect Methods |
The Rect type exposes the following members.
| Name | Description | |
|---|---|---|
| Contains(Point) |
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
| |
| Contains(Rect) |
Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.
| |
| Contains(Int32, Int32) |
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
| |
| Equals(Object) |
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Rect) |
Specifies whether this object contains the same members as the specified Object.
| |
| FromLTRB |
Creates a Rectangle structure with the specified edge locations.
| |
| GetHashCode |
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Inflate(Size) |
Inflates this Rect by the specified amount.
| |
| Inflate(Int32, Int32) |
Inflates this Rect by the specified amount.
| |
| Inflate(Rect, Int32, Int32) |
Creates and returns an inflated copy of the specified Rect structure.
| |
| Intersect(Rect) |
Determines the Rect structure that represents the intersection of two rectangles.
| |
| Intersect(Rect, Rect) |
Determines the Rect structure that represents the intersection of two rectangles.
| |
| IntersectsWith |
Determines if this rectangle intersects with rect.
| |
| ToString |
Converts this object to a human readable string.
(Overrides ValueTypeToString.) | |
| Union(Rect) |
Gets a Rect structure that contains the union of two Rect structures.
| |
| Union(Rect, Rect) |
Gets a Rect structure that contains the union of two Rect structures.
|