Rectangle Methods
Assembly: System.Drawing (in System.Drawing.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Ceiling(RectangleF) | Converts the specified RectangleF structure to a Rectangle structure by rounding the RectangleF values to the next higher integer values. |
![]() | Contains(Int32, Int32) | Determines if the specified point is contained within this Rectangle structure. |
![]() | Contains(Point) | Determines if the specified point is contained within this Rectangle structure. |
![]() | Contains(Rectangle) | Determines if the rectangular region represented by rect is entirely contained within this Rectangle structure. |
![]() | Equals(Object^) | Tests whether obj is a Rectangle structure with the same location and size of this Rectangle structure.(Overrides ValueType::Equals(Object^).) |
![]() ![]() | FromLTRB(Int32, Int32, Int32, Int32) | Creates a Rectangle structure with the specified edge locations. |
![]() | GetHashCode() | Returns the hash code for this Rectangle structure. For information about the use of hash codes, see GetHashCode .(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() | Inflate(Int32, Int32) | Enlarges this Rectangle by the specified amount. |
![]() ![]() | Inflate(Rectangle, Int32, Int32) | |
![]() | Inflate(Size) | Enlarges this Rectangle by the specified amount. |
![]() | Intersect(Rectangle) | |
![]() ![]() | Intersect(Rectangle, Rectangle) | |
![]() | IntersectsWith(Rectangle) | Determines if this rectangle intersects with rect. |
![]() | Offset(Int32, Int32) | Adjusts the location of this rectangle by the specified amount. |
![]() | Offset(Point) | Adjusts the location of this rectangle by the specified amount. |
![]() ![]() | Round(RectangleF) | Converts the specified RectangleF to a Rectangle by rounding the RectangleF values to the nearest integer values. |
![]() | ToString() | Converts the attributes of this Rectangle to a human-readable string.(Overrides ValueType::ToString().) |
![]() ![]() | Truncate(RectangleF) | Converts the specified RectangleF to a Rectangle by truncating the RectangleF values. |
![]() ![]() | Union(Rectangle, Rectangle) |

