Interface IFontRegistry
- All Known Implementing Classes:
FontRegistry
public interface IFontRegistry
The registry of the platform fonts.
-
Method Summary
Modifier and TypeMethodDescriptiongetFont
(CompositeId id, Version version) Gets the font by specifiedid
.Gets the font by specifiedalias
(the qualified name).getStyleFontIds
(Version version) Gets the all registered style font ids.getStyleFonts
(Version version) Gets the all registered style fonts.getSystemFontIds
(Version version) Gets the all registered system font ids.getSystemFonts
(Version version) Gets the all registered system fonts.
-
Method Details
-
getFont
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
Gets the all registered style fonts.- Parameters:
version
- current project version, cannot benull
- Returns:
- all registered style fonts
-
getSystemFonts
Gets the all registered system fonts.- Parameters:
version
- current project version, cannot benull
- Returns:
- all registered system fonts
-
getFont
Gets the font by specifiedid
.- Parameters:
id
- the composite is, cannot benull
version
- current project version, cannot benull
- Returns:
- the font, can be
null
if not found
-
getStyleFontIds
Gets the all registered style font ids.- Parameters:
version
- current project version, cannot benull
- Returns:
- all registered style font ids
-
getSystemFontIds
Gets the all registered system font ids.- Parameters:
version
- current project version, cannot benull
- Returns:
- all registered system font ids
-