CompassDirectionFormatter
The CompassDirectionFormatter class provides properly formatted
descriptions of absolute compass directions. For example, a value of 90 may
be formatted as “east”, depending on the locale.
-
See moreStyleis used to configure how aCompassDirectionFormattertranslates a compass direction into aString. -
The
Styleused by this formatter. Defaults toStyle.long. -
Creates a new
CompassDirectionFormatterinstance -
Returns a localized string describing the provided compass direction.
CompassDirectionFormatter Class Reference