Class FontUtils

java.lang.Object
com.trimblemaps.mapsdk.utils.FontUtils

public class FontUtils extends Object
Utility class to select a font from a range of font names based on the availability of fonts on the device.
  • Method Details

    • extractValidFont

      public static String extractValidFont(String... fontNames)
      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