![]() AllDirections | Gets an array of all the available directions |
![]() Empty | Returns an empty rectangle |
![]() IsVertical | Tests whether a given direction is vertical. |
![]() OppositeDirection | Gets the opposite direction from the one supplied |
Rect | Overloaded. Initializes a new instance of the Rect class. |
Bottom | Gets or sets the y-coordinate of the lower-right corner of the rectangle. |
BottomLeft | Gets the bottom-left corner point of the Rect. |
BottomRight | Gets the bottom-right corner point of the Rect. |
Centre | Gets the centre-point of the Rect. |
CentreX | Gets the x-coordinate of the centre-point of the Rect. |
CentreY | Gets the Y-coordinate of the centre-point of the Rect. |
Height | Gets the height of the rectangle. |
Left | Gets or sets the x-coordinate of the upper-left corner of the rectangle. |
Right | Gets or sets the x-coordinate of the lower-right corner of the rectangle. |
Top | Gets or sets the y-coordinate of the upper-left corner of the rectangle. |
TopLeft | Gets the top-left corner point of the Rect. |
TopRight | Gets the top-right corner point of the Rect. |
Width | Gets the width of the rectangle. |
X | Gets the x-coordinate of the upper-left corner of the rectangle. |
Y | Gets the y-coordinate of the upper-left corner of the rectangle. |
AsRectangle | Returns a Drawing.Rectangle object equivalent to this. |
Clone | Creates a new instance of Rect identical to this one. |
Contains | Overloaded. Tests whether a given point is contained within this rectangle. |
Equals | Returns true if the two objects are equals |
Expand | Expands the Rect in all directions by the specified distance. |
ExpandToInclude | Overloaded. Expands this Rect to include the specified point. |
GetCoordinate | Gets a specific coordinate. |
GetHashCode | Gets the hash code |
GetLine | Gets the line which represents the side |
GetType (inherited from Object) | Gets the Type of the current instance. |
IntersectBoundary | Extends or contracts the end-point of the given line to be on the boundary. |
IntersectsWith | Overloaded. Tests whether a rectangle intersects this rectangle. |
IsEmpty | Tests whether this Rect has a width or height of zero. |
NearestBoundaryPoint | Returns the nearest boundary point to the specified point. |
ProjectOntoLine | Projects this rectangle onto the specified line. |
ToString | Converts the object to a string |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |