Click or drag to resize

Rect2d Methods

The Rect2d type exposes the following members.

Methods
  NameDescription
Public methodContains(Point2d)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodContains(Rect2d)
Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.
Public methodContains(Double, Double)
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(Rect2d)
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(Size2d)
Inflates this Rect by the specified amount.
Public methodInflate(Double, Double)
Inflates this Rect by the specified amount.
Public methodStatic memberInflate(Rect, Int32, Int32)
Creates and returns an inflated copy of the specified Rect2d structure.
Public methodIntersect(Rect2d)
Determines the Rect2d structure that represents the intersection of two rectangles.
Public methodStatic memberIntersect(Rect2d, Rect2d)
Determines the Rect2d structure that represents the intersection of two rectangles.
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodToRect
Public methodToString
Converts this object to a human readable string.
(Overrides ValueTypeToString.)
Public methodUnion(Rect2d)
Gets a Rect2d structure that contains the union of two Rect2d structures.
Public methodStatic memberUnion(Rect2d, Rect2d)
Gets a Rect2d structure that contains the union of two Rect2d structures.
Top
See Also