RectangleF Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodContains(PointF)

Determines if the specified point is contained within this RectangleF structure.

System_CAPS_pubmethodContains(RectangleF)

Determines if the rectangular region represented by rect is entirely contained within this RectangleF structure.

System_CAPS_pubmethodContains(Single, Single)

Determines if the specified point is contained within this RectangleF structure.

System_CAPS_pubmethodEquals(Object)

Tests whether obj is a RectangleF with the same location and size of this RectangleF.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticFromLTRB(Single, Single, Single, Single)

Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this RectangleF structure. For information about the use of hash codes, see Object.GetHashCode.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticInflate(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.

System_CAPS_pubmethodInflate(Single, Single)

Enlarges this RectangleF structure by the specified amount.

System_CAPS_pubmethodInflate(SizeF)

Enlarges this RectangleF by the specified amount.

System_CAPS_pubmethodIntersect(RectangleF)

Replaces this RectangleF structure with the intersection of itself and the specified RectangleF structure.

System_CAPS_pubmethodSystem_CAPS_staticIntersect(RectangleF, RectangleF)

Returns a RectangleF structure that represents the intersection of two rectangles. If there is no intersection, and empty RectangleF is returned.

System_CAPS_pubmethodIntersectsWith(RectangleF)

Determines if this rectangle intersects with rect.

System_CAPS_pubmethodOffset(PointF)

Adjusts the location of this rectangle by the specified amount.

System_CAPS_pubmethodOffset(Single, Single)

Adjusts the location of this rectangle by the specified amount.

System_CAPS_pubmethodToString()

Converts the Location and Size of this RectangleF to a human-readable string.(Overrides ValueType.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticUnion(RectangleF, RectangleF)

Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

Return to top
Show: