static FromLeftTopRightBottom(float, float, float, float) |
Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations. |
static FromPoints(PointF, PointF) |
Creates a new Rectangle from two points specified. Two verticles of the created Rectangle will be equal to the passed point1 and point2. These would be typically the opposite vertices. |
static Inflate(RectangleF, float, float) |
Creates and returns an inflated copy of the specified RectangleF structure. The copy is inflated by the specified amount. The original rectangle remains unmodified. |
static Intersect(RectangleF, RectangleF) |
Returns a RectangleF structure that represents the intersection of two rectangles. If there is no intersection, and empty RectangleF is returned. |
static Union(RectangleF, RectangleF) |
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |
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(float, float) |
Determines if the specified point is contained within this RectangleF structure. |
override Equals(object) |
Tests whether obj is a RectangleF with the same location and size of this RectangleF . |
override GetHashCode() |
Gets the hash code for this RectangleF structure. |
Inflate(SizeF) |
Inflates this RectangleF by the specified amount. |
Inflate(float, float) |
Inflates this RectangleF structure by the specified amount. |
Intersect(RectangleF) |
Replaces this RectangleF structure with the intersection of itself and the specified RectangleF structure. |
IntersectsWith(RectangleF) |
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(float, float) |
Adjusts the location of this rectangle by the specified amount. |
override ToString() |
Converts the attributes of this RectangleF to a human-readable string. |
operator / |
Implements the operator /. |
operator == |
Tests whether two RectangleF structures have equal location and size. |
implicit operator |
Converts the specified Rectangle structure to a RectangleF structure. |
operator != |
Tests whether two RectangleF structures differ in location or size. |
operator * |
Implements the operator *. |