Length
Represents an absolute length value.
An enumeration of length units.
Gets the full relative length, i.e. 100%.
Gets the half relative length, i.e. 50%.
Gets a medium length value.
Gets the missing value.
Gets a thick length value.
Gets a thin length value.
Gets a zero pixel length value.
Gets if the length is given in absolute units.
Such a length may be converted to pixels.
Gets if the length is given in relative units.
Such a length cannot be converted to pixels.
Gets the type of the length.
Gets the representation of the unit as a string.
Gets the value of the length.
Creates a new length value.
Checks the equality of the two given lengths.
Checks the inequality of the two given lengths.
Compares the current length against the given one.
Checks if both lengths are actually equal.
Converts the length to the given unit, if possible. If the current
or given unit is relative, then an exception will be thrown.
Converts the length to a number of pixels, if possible. If the
current unit is relative, then an exception will be thrown.
Returns a formatted string representing the length.