RectangleF Methods
Assembly: System.Drawing (in System.Drawing.dll)
| 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(Object^) | Tests whether obj is a RectangleF with the same location and size of this RectangleF.(Overrides ValueType::Equals(Object^).) |
![]() ![]() | FromLTRB(Single, Single, Single, Single) | Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations. |
![]() | GetHashCode() | Gets the hash code for this RectangleF structure. For information about the use of hash codes, see Object.GetHashCode.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() ![]() | Inflate(RectangleF, Single, Single) | Creates and returns an enlarged copy of the specified RectangleF structure. The copy is enlarged by the specified amount and the original rectangle remains unmodified. |
![]() | Inflate(Single, Single) | Enlarges this RectangleF structure by the specified amount. |
![]() | Inflate(SizeF) | Enlarges this RectangleF by the specified amount. |
![]() | 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(RectangleF) | Determines if this rectangle intersects with rect. |
![]() | 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 Location and Size of this RectangleF to a human-readable string.(Overrides ValueType::ToString().) |
![]() ![]() | Union(RectangleF, RectangleF) | Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |

