RectangleF Methods |
The RectangleF type exposes the following members.
| Name | Description | |
|---|---|---|
| Contains(PointF) |
Determines if the specified point is contained within this RectangleF structure.
| |
| Contains(RectangleF) |
Determines if the rectangular region represented by rect is entirely contained within this RectangleF structure.
| |
| Contains(Single, Single) |
Determines if the specified point is contained within this RectangleF structure.
| |
| Equals | (Overrides ValueTypeEquals(Object).) | |
| FromLeftTopRightBottom |
Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.
| |
| FromPoints | ||
| GetHashCode |
Gets the hash code for this RectangleF structure.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| Inflate(SizeF) |
Inflates this RectangleF by the specified amount.
| |
| Inflate(Single, Single) |
Inflates this RectangleF structure by the specified amount.
| |
| Inflate(RectangleF, Single, Single) |
Creates and returns an inflated copy of the specified RectangleF structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.
| |
| Intersect(RectangleF) |
Replaces this RectangleF structure with the intersection of itself and the specified RectangleF structure.
| |
| Intersect(RectangleF, RectangleF) |
Returns a RectangleF structure that represents the intersection of two rectangles. If there is no intersection, and empty RectangleF is returned.
| |
| IntersectsWith |
Determines if this rectangle intersects with rect.
| |
| Normalize |
Normalizes the rectangle by making it's width and height positive, left less than right and top less than bottom.
| |
| Offset(PointF) |
Adjusts the location of this rectangle by the specified amount.
| |
| Offset(Single, Single) |
Adjusts the location of this rectangle by the specified amount.
| |
| ToString |
Converts the attributes of this RectangleF to a human-readable string.
(Overrides ValueTypeToString.) | |
| Union |
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
|