Interface FontProvider
- All Known Implementing Classes:
BMFontProvider
public interface FontProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetClosestMatchingFont
(Map<String, Object> currentStyles, AtomicReference<Double> scale) Get the closest font this provider has to the given criteria.
-
Method Details
-
getClosestMatchingFont
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.
-