Interface IFontRegistry
-
public interface IFontRegistry
The registry of the platform fonts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Font
getFont(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 benull
version
- current project version, cannot benull
- Returns:
- the font, can be
null
if 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
-
-