LengthConstructor

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

Description

Creates from a float and an optionnal LengthUnit.

LengthUnit.Pixel is the default unit.