Package org.jmol.api

Interface FontManager

  • All Known Subinterfaces:
    GenericPlatform
    All Known Implementing Classes:
    Platform, Platform, Platform

    public interface FontManager
    A generic interface for font queries. In JSmol it is handled by org.jmol.api.ApiPlatform
    • Method Detail

      • fontStringWidth

        int fontStringWidth​(Font font,
                            String text)
      • getFontAscent

        int getFontAscent​(Object fontMetrics)
      • getFontDescent

        int getFontDescent​(Object fontMetrics)
      • newFont

        Object newFont​(String fontFace,
                       boolean isBold,
                       boolean isItalic,
                       float fontSize)