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