Interface FontProvider

All Known Implementing Classes:
BMFontProvider

public interface FontProvider
  • Method Details

    • getClosestMatchingFont

      UIFont getClosestMatchingFont(Map<String,Object> currentStyles, AtomicReference<Double> scale)
      Get the closest font this provider has to the given criteria.
      Parameters:
      currentStyles - a map of style information.
      scale - the scale needed to match out requested size.
      Returns:
      the found font, or null if none is found.