Length Constructor

Declaration

public Length(float value);

Description

Creates from a float and an optional LengthUnit.

LengthUnit.Pixel is the default unit.


Declaration

public Length(float value, UIElements.LengthUnit unit);

Description

Creates from a float and an optional LengthUnit.

LengthUnit.Pixel is the default unit.


Did you find this page useful? Please give it a rating: