This documentation is archived and is not being maintained.

RectangleF Methods

The RectangleF type exposes the following members.

  NameDescription
Public method Contains Overloaded. Determines if the specified point is contained within this RectangleF structure.
Public method Supported by the .NET Compact Framework Equals Tests whether obj is a RectangleF with the same location and size of this RectangleF. (Overrides ValueType.Equals(Object).)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromLTRB Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.
Public method Supported by the .NET Compact Framework GetHashCode Gets the hash code for this RectangleF structure. For information about the use of hash codes, see Object.GetHashCode. (Overrides ValueType.GetHashCode().)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member Inflate Overloaded. Inflates this RectangleF by the specified amount.
Public method Static member Intersect Overloaded. Determines the RectangleF structure that represents the intersection of two rectangles.
Public method IntersectsWith Determines if this rectangle intersects with rect.
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Offset Overloaded. Adjusts the location of this rectangle by the specified amount.
Public method Supported by the .NET Compact Framework ToString Converts the Location and Size of this RectangleF to a human-readable string. (Overrides ValueType.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Public method Static member Union Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
Top
Show: