Export (0) Print
Expand All

RectangleF Methods

The RectangleF type exposes the following members.

  NameDescription
Public method Contains(PointF) Determines if the specified point is contained within this RectangleF structure.
Public method Contains(RectangleF) Determines if the rectangular region represented by rect is entirely contained within this RectangleF structure.
Public method Contains(Single, Single) Determines if the specified point is contained within this RectangleF structure.
Public method Equals Tests whether obj is a RectangleF with the same location and size of this RectangleF. (Overrides ValueType.Equals(Object).)
Protected method 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 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 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Inflate(SizeF) Enlarges this RectangleF by the specified amount.
Public method Inflate(Single, Single) Enlarges this RectangleF structure by the specified amount.
Public method Static member Inflate(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.
Public method Intersect(RectangleF) Replaces this RectangleF structure with the intersection of itself and the specified RectangleF structure.
Public method Static member Intersect(RectangleF, RectangleF) Returns a RectangleF structure that represents the intersection of two rectangles. If there is no intersection, and empty RectangleF is returned.
Public method IntersectsWith Determines if this rectangle intersects with rect.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Offset(PointF) Adjusts the location of this rectangle by the specified amount.
Public method Offset(Single, Single) Adjusts the location of this rectangle by the specified amount.
Public method ToString Converts the Location and Size of this RectangleF to a human-readable string. (Overrides ValueType.ToString().)
Public method Static member Union Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
Top

Community Additions

ADD
Show:
© 2014 Microsoft