Click or drag to resize

Rect Methods

The Rect type exposes the following members.

Methods
  NameDescription
Public methodContains(Point)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodContains(Rect)
Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.
Public methodContains(Int32, Int32)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Rect)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberFromLTRB
Creates a Rectangle structure with the specified edge locations.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInflate(Size)
Inflates this Rect by the specified amount.
Public methodInflate(Int32, Int32)
Inflates this Rect by the specified amount.
Public methodStatic memberInflate(Rect, Int32, Int32)
Creates and returns an inflated copy of the specified Rect structure.
Public methodIntersect(Rect)
Determines the Rect structure that represents the intersection of two rectangles.
Public methodStatic memberIntersect(Rect, Rect)
Determines the Rect structure that represents the intersection of two rectangles.
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodUnion(Rect)
Gets a Rect structure that contains the union of two Rect structures.
Public methodStatic memberUnion(Rect, Rect)
Gets a Rect structure that contains the union of two Rect structures.
Top
See Also