Distance provides an object which represents a linear measurement in one
of several different units. The units are broken up into three types:
BaseDistance.FIXED_UNITS, BaseDistance.FONT_UNITS and BaseDistance.DEVICE_UNITS.
Currently only FIXED_UNITS and DEVICE_UNITS units are supported.
The units, grouped by type with full name followed by abbreviation, are as follows:
Returns a collection of equivalent different units with scaled magnitude values.
Possible values for id are: BaseDistance.FIXED_UNITS,
BaseDistance.FONT_UNITS and
BaseDistance.DEVICE_UNITS which can be
combined in an OR relationship to specify all.
Parameters:
id - Specifies in which units the values should be returned.
Returns a collection of the specified units.
Possible values for id are: BaseDistance.FIXED_UNITS,
BaseDistance.FONT_UNITS and
BaseDistance.DEVICE_UNITS which can be
combined in an OR relationship to specify all.
Parameters:
id - Specifies which units should be in the collection.