Interface IFontRegistry
-
public interface IFontRegistryThe registry of the platform fonts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FontgetFont(String alias, Version version)Gets the font by specifiedalias(the qualified name).Map<String,Font>getStyleFonts(Version version)Gets the all registered style fonts.Map<String,Font>getSystemFonts(Version version)Gets the all registered system fonts.
-
-
-
Method Detail
-
getFont
Font getFont(String alias, Version version)
Gets the font by specifiedalias(the qualified name).- Parameters:
alias- - qualified name, cannot benullversion- current project version, cannot benull- Returns:
- the font, can be
nullif not found
-
getStyleFonts
Map<String,Font> getStyleFonts(Version version)
Gets the all registered style fonts.- Parameters:
version- current project version, cannot benull- Returns:
- all registered style fonts
-
-