In This Topic
The following tables list the members exposed by RectL.
Public Constructors
Public Fields
| Name | Description |
| Bottom | The y-coordinate of the bottom edge. |
| Empty | An empty rectangle. |
| Infinite | An infinite rectangle. |
| Left | The x-coordinate of the left edge. |
| Right | The x-coordinate of the right edge. |
| SizeInBytes | The size of the RectL type, in bytes. |
| Top | The y-coordinate of the top edge. |
Top
Public Properties
| Name | Description |
| HasSpace | Determines if there is some space within the rectangle. |
| Height | Gets or sets the height of the rectangle. |
| IsEmpty | Determines if all components of RectL are equal to zero. |
| Location | Gets the point with coordinates of the left top corner of the rectangle. |
| Size | Gets the size of the rectangle. |
| Width | Gets or sets the width of the rectangle. |
| X | Gets or sets the X coordinate of the rectangle. |
| Y | Gets or sets the Y coordinate of the rectangle. |
Top
Public Methods
| Name | Description |
| Contains | Overloaded. Determines if the specified point is contained within this rectangle. |
| ContainsRef | Determines if the specified rectangle is fully contained within this rectangle. |
| Equals | Overloaded. Indicates whether this instance and a specified object are equal. |
| EqualsRef | Indicates whether this instance and a specified object are equal. |
| FromLTRB | Creates a RectL struct from (left, top, right, bottom) coordinates. |
| GetHashCode | Returns a hash code for this instance. |
| Inflate | Overloaded. Inflates the rectangle by the specified amount. |
| Intersect | Returns a rectangle that represents the intersection of two rectangles. |
| IntersectFast | Quickly updates a rectangle to represent the intersection with another rectangle. |
| IntersectRef | Returns a rectangle that represents the intersection of two rectangles. |
| IntersectsWith | Determines if this rectangle intersects with rect. |
| IntersectsWithRef | Determines if this rectangle intersects with rect. |
| MakeLTRB | Converts the rectangle from (X, Y, Width, Height) to (Left, Top, Right, Bottom) coordinates. |
| MakeXYWH | Converts the rectangle from (Left, Top, Right, Bottom) to (X, Y, Width, Height) coordinates. |
| Offset | Overloaded. Offsets the rectangle by the specified amount. |
| ToRectD | Converts RectL to RectD. |
| ToRectF | Converts RectL to RectF. |
| ToString | Returns a string that represents the current object. |
| Union | Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |
| UnionRef | Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |
Top
Public Operators
Equality | Determines if the specified values are equal. |
Inequality | Determines if the specified values are not equal. |
Top
See Also