[]
Represents rectangle.
public sealed class _Rect : ValueType
Name | Description |
---|---|
_Rect(double, double, double, double) | Create an instance of rectangle. |
Name | Description |
---|---|
Empty | Empty rectangle. |
Height | Height of rectangle. |
Left | Left coordinate. |
Top | Top coordinate. |
Width | Width of rectangle. |
Name | Description |
---|---|
Bottom | Gets the bottom coordinate of rectangle. |
Right | Gets the right coordinate of rectangle. |
Name | Description |
---|---|
Contains(double, double) | Returns whether the point specified by coordinates is inside rectangle. |
Equals(object) | Determines whether the specified object is equal to this instance. |
GetHashCode() | Returns the hash code of the instance. |
Inflate(double, double) | |
Intersect(_Rect) | Returns a value indicating whether the rectangle intersects with the specified rectangle. |
Intersect(_Rect, _Rect) | |
ToString() | Output left, top, right, bottom as string. |
Name | Description |
---|---|
operator ==(_Rect, _Rect) | Equality operator. |
operator !=(_Rect, _Rect) | Non-equality operator. |