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 Details

    • fontStringWidth

      int fontStringWidth(Font font, String text)
    • getFontAscent

      int getFontAscent(Object fontMetrics)
    • getFontDescent

      int getFontDescent(Object fontMetrics)
    • getFontMetrics

      Object getFontMetrics(Font font, Object graphics)
    • newFont

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