LengthBounds.Implicit
Implicit(float to LengthBounds)
Constructs a new LengthBounds and assigns each edge offset to a Value Length of value.
Declaration
public static implicit operator LengthBounds(float length)
Parameters
| Type | Name | Description |
|---|---|---|
| float | length | The length to assign in units. |
Returns
| Type | Description |
|---|---|
| LengthBounds |
Implicit(Length to LengthBounds)
Constructs a new LengthBounds and assigns each edge offset to the provided length.
Declaration
public static implicit operator LengthBounds(Length length)
Parameters
| Type | Name | Description |
|---|---|---|
| Length | length | The length to assign to each edge offset. |
Returns
| Type | Description |
|---|---|
| LengthBounds |
Implicit(LengthRect to LengthBounds)
Constructs a new LengthBounds where XY == rect and Z == Zero.
Declaration
public static implicit operator LengthBounds(LengthRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| LengthRect | rect | The values assigned to XY. |
Returns
| Type | Description |
|---|---|
| LengthBounds |