Package com.trimblemaps.mapsdk.utils
Class FontUtils
java.lang.Object
com.trimblemaps.mapsdk.utils.FontUtils
Utility class to select a font from a range of font names based on the availability of fonts on the device.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractValidFont(String... fontNames) Select a font from a range of font names to match the availability of fonts on the device.
-
Method Details
-
extractValidFont
Select a font from a range of font names to match the availability of fonts on the device.- Parameters:
fontNames- the range of font names to select from- Returns:
- the selected fon
-