RectangleF Methods |
The RectangleF type exposes the following members.
Name | Description | |
---|---|---|
Contains(PointF) |
Determines if the specified point is contained within this System.Drawing.RectangleF
structure.
| |
Contains(PointF) |
Determines if the specified point is contained within this System.Drawing.RectangleF
structure.
| |
Contains(RectangleF) |
Determines if the rectangular region represented by rect is entirely contained
within this System.Drawing.RectangleF structure.
| |
Contains(Single, Single) |
Determines if the specified point is contained within this System.Drawing.RectangleF
structure.
| |
Equals |
Tests whether obj is a System.Drawing.RectangleF with the same location and
size of this System.Drawing.RectangleF.
(Overrides ObjectEquals(Object).) | |
FromLTRB |
Creates a System.Drawing.RectangleF structure with upper-left corner and
lower-right corner at the specified locations.
| |
GetHashCode |
Gets the hash code for this System.Drawing.RectangleF structure. For information about the use of hash codes, see Object.GetHashCode.
(Overrides ObjectGetHashCode.) | |
Inflate(SizeF) |
Inflates this System.Drawing.RectangleF by the specified amount.
| |
Inflate(SizeF) |
Inflates this System.Drawing.RectangleF by the specified amount.
| |
Inflate(Single, Single) |
Inflates this System.Drawing.RectangleF structure by the specified amount.
| |
Inflate(RectangleF, Single, Single) |
Creates and returns an inflated copy of the specified System.Drawing.RectangleF
structure. The copy is inflated by the specified amount. The original rectangle
remains unmodified.
| |
Intersect(RectangleF) |
Replaces this System.Drawing.RectangleF structure with the intersection of
itself and the specified System.Drawing.RectangleF structure.
| |
Intersect(RectangleF, RectangleF) |
Returns a System.Drawing.RectangleF structure that represents the intersection
of two rectangles. If there is no intersection, and empty System.Drawing.RectangleF
is returned.
| |
IntersectsWith |
Determines if this rectangle intersects with rect.
| |
Offset(PointF) |
Adjusts the location of this rectangle by the specified amount.
| |
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 System.Drawing.Size of this System.Drawing.RectangleF
to a human-readable string.
(Overrides ObjectToString.) | |
Union |
Creates the smallest possible third rectangle that can contain both of two
rectangles that form a union.
|