LengthRect Constructor
LengthRect(Length, Length, Length, Length)
Constructs a new LengthRect, specified per face.
Declaration
public LengthRect(Length left, Length right, Length bottom, Length top)
Parameters
Type | Name | Description |
---|---|---|
Length | left | The length assigned to Left. |
Length | right | The length assigned to Right. |
Length | bottom | The length assigned to Bottom. |
Length | top | The length assigned to Top. |
LengthRect(Length2, Length2)
Constructs a new LengthRect, specified per axis.
Declaration
public LengthRect(Length2 x, Length2 y)
Parameters
Type | Name | Description |
---|---|---|
Length2 | x | The lengths assigned to X. |
Length2 | y | The lengths assigned to Y. |