Click or drag to resize

Rectangle Methods

The Rectangle type exposes the following members.

Methods
  NameDescription
Public methodCenter
Calculates the center of this rectangle.
Public methodContains(Point)
Checks whether the rectangle contains the specified point.
Public methodContains(Rectangle)
Checks whether the rectangle contains the specified rectangle.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also