[]
Creates an instance of ObjectRect from (left, top, right, bottom) coordinates.
public static ObjectRect FromLTRB(float left, float top, float right, float bottom)
Public Shared Function FromLTRB(left As Single, top As Single, right As Single, bottom As Single) As ObjectRect
Type | Name | Description |
---|---|---|
float | left | The X coordinate of the top left corner. |
float | top | The Y coordinate of the top left corner. |
float | right | The X coordinate of the bottom right corner. |
float | bottom | The Y coordinate of the bottom right corner. |
Type | Description |
---|---|
ObjectRect |