hosanna-ui-docs - v0.9.0
    Preparing search index...
    interface IFontManager {
        getFontWithKey(key: string): undefined | ISGNFont;
    }

    Implemented by

    Index

    Methods

    • Retrieves a font based on the provided key. The key can be a font name, a size, or both separated by a comma. If the size is missing, the font name must be one of the system fonts. If the font name is missing, it will use the system default font.

      Parameters

      • key: string

        The key representing the font name and/or size.

      Returns undefined | ISGNFont

      The font object if found, otherwise undefined.