Rectangle Methods |
The Rectangle type exposes the following members.
| Name | Description | |
|---|---|---|
| Center |
Calculates the center of this rectangle.
| |
| Contains(Point) |
Checks whether the rectangle contains the specified point.
| |
| Contains(Rectangle) |
Checks whether the rectangle contains the specified rectangle.
| |
| Equals | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
| GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |