The Rectangle type exposes the following members.

Methods

  NameDescription
Public methodContains(Point)
Tests whether the given coordinate is inside the rectangle.
Public methodContains(Rectangle)
Tests whether the given rectangle is contained in this one.
Public methodCreateGdiRectangle
Converts the rectangle to the System.Drawing.Rectangle equivalent
Public methodCreateGdiRectangleF
Converts the rectangle to the System.Drawing.RectangleF equivalent
Public methodEquals
Returns true if the argument object equals this rectangle.
(Overrides Object..::..Equals(Object).)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides Object..::..GetHashCode()()()().)
Public methodIntersectsWith
Tests whether the given rectangle intersects with this one.

See Also