The Rect type exposes the following members.
Methods
Name | Description | |
---|---|---|
Ceiling | ||
Contains(Point2D) |
Check if a point is located inside this Rect.
| |
Contains(Point2Dd) |
Check if a point is located inside this Rect.
| |
Contains(Int32, Int32) |
Determines if the specified point is contained with this
Rect.
| |
Contains(Point2Dd, Double) |
Check if a point is located inside this Rect.
| |
CropExtent | ||
Equals | (Overrides ValueTypeEquals(Object).) | |
FromLTRB |
Creates a Rect structure with the specified edge
locations.
| |
GetHashCode |
Returns the hash code for this Rect.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Intersect(Rect) |
Replaces this rectangle with the intersection of itself and the
specified rectangle.
| |
Intersect(Rect, Rect) | ||
IntersectsWith |
Test if this rectangle intersects with rect.
| |
Round | ||
ToString |
String conversion.
(Overrides ValueTypeToString.) | |
Truncate | ||
TruncateCeiling | ||
Union |
Extension Methods
Name | Description | |
---|---|---|
Contains |
Check if a point is located inside this Rect.
(Defined by RectExtensions.) | |
ToRectangle | (Defined by ImageExtensions.) | |
ToWindowsRect |
Creates a Rect from this rectangle.
(Defined by RectExtensions.) |
See Also