Interface IFontRegistry


  • public interface IFontRegistry
    The registry of the platform fonts.
    • Method Detail

      • getFont

        Font getFont​(String alias,
                     Version version)
        Gets the font by specified alias (the qualified name).
        Parameters:
        alias - - qualified name, cannot be null
        version - current project version, cannot be null
        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 be null
        Returns:
        all registered style fonts
      • getSystemFonts

        Map<String,​Font> getSystemFonts​(Version version)
        Gets the all registered system fonts.
        Parameters:
        version - current project version, cannot be null
        Returns:
        all registered system fonts