FontManager
Date: 2019-10-22

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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `fontStringWidth(Font font, java.lang.String text)`
    `int` | `getFontAscent(java.lang.Object fontMetrics)`
    `int` | `getFontDescent(java.lang.Object fontMetrics)`
    `java.lang.Object` | `getFontMetrics(Font font, java.lang.Object graphics)`
    `java.lang.Object` | `newFont(java.lang.String fontFace, boolean isBold, boolean isItalic, float fontSize)`

- - ### Method Detail

    - #### fontStringWidth

          int fontStringWidth(Font font,
                              java.lang.String text)

    - #### getFontAscent

          int getFontAscent(java.lang.Object fontMetrics)

    - #### getFontDescent

          int getFontDescent(java.lang.Object fontMetrics)

    - #### getFontMetrics

          java.lang.Object getFontMetrics(Font font,
                                          java.lang.Object graphics)

    - #### newFont

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