The rect type exposes the following members.

Methods

  NameDescription
Public methodCombine(rect)
Adds the area of a second rectangle to current rectangle
Public methodCombine(rect, rect)
Returns the combination of two rectangles
Public methodContains(point)
Checks if a point is inside the rectangle
Public methodContains(Int32, Int32)
Checks if a point is inside the rectangle
Public methodEquals (Inherited from ValueType.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberIntersect
Returns the intersection of two rectangles
Public methodIntersects
Checks to see if two rectangles intersect
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object..::..ToString()()()().)

See Also