Click or drag to resize

Rect2f Methods

The Rect2f type exposes the following members.

Methods
  NameDescription
Public methodContains(Point2f)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodContains(Rect2f)
Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.
Public methodContains(Single, Single)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodEquals(Object)
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Rect2f)
Specifies whether this object contains the same members as the specified Object.
Public methodStatic memberFromLTRB
Public methodGetHashCode
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInflate(Size2f)
Inflates this Rect by the specified amount.
Public methodInflate(Single, Single)
Inflates this Rect by the specified amount.
Public methodStatic memberInflate(Rect, Int32, Int32)
Creates and returns an inflated copy of the specified Rect2f structure.
Public methodIntersect(Rect2f)
Determines the Rect2f structure that represents the intersection of two rectangles.
Public methodStatic memberIntersect(Rect2f, Rect2f)
Determines the Rect2f structure that represents the intersection of two rectangles.
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodToString
Converts this object to a human readable string.
(Overrides ValueTypeToString.)
Public methodUnion(Rect2f)
Gets a Rect2f structure that contains the union of two Rect2f structures.
Public methodStatic memberUnion(Rect2f, Rect2f)
Gets a Rect2f structure that contains the union of two Rect2f structures.
Top
See Also