Export (0) Print
Expand All

RectangleF Methods

The methods of the RectangleF structure are listed here. For a complete list of RectangleF structure members, see the RectangleF Members topic.

Public Methods

public methodContains Overloaded. Determines if the specified point is contained within this RectangleF structure.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Tests whether obj is a RectangleF with the same location and size of this RectangleF.
public methodstatic (Shared in Visual Basic)FromLTRB Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Gets the hash code for this RectangleF structure. For information about the use of hash codes, see Object.GetHashCode.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInflate Overloaded. Inflates this RectangleF by the specified amount.
public methodIntersect Overloaded. Returns a RectangleF structure that represents the intersection of two rectangles. If there is no intersection, null is returned.
public methodIntersectsWith Determines if this rectangle intersects with rect.
public methodOffset Overloaded. Adjusts the location of this rectangle by the specified amount.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts the Location and Size of this RectangleF to a human-readable string.
public methodstatic (Shared in Visual Basic)Union Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

RectangleF Structure | System.Drawing Namespace

Show:
© 2015 Microsoft