Creates an instance of a length based on a value and unit.
The value of the length.
The unit of the length.
The unit of the length value.
The numeric value of the length.
A (CSS compliant) representation of the length.
Creates a Length instance given an object with a value
and unit
attribute.
An object from which to create a Length instance.
A Length instance.
Represents a length value. Length values are returned from properties of type length, and are used to define the size of a Font.