AwtFont
Date: 2019-10-22

org.jmol.awt

## Class AwtFont

- java.lang.Object
- - org.jmol.awt.AwtFont

-     class AwtFont
      extends java.lang.Object

  methods required by Jmol that access java.awt.Font private to org.jmol.awt

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AwtFont()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) static int` | `getAscent(java.lang.Object fontMetrics)`
    `(package private) static int` | `getDescent(java.lang.Object fontMetrics)`
    `(package private) static java.lang.Object` | `getFontMetrics(Font font, java.lang.Object graphics)`
    `(package private) static java.lang.Object` | `newFont(java.lang.String fontFace, boolean isBold, boolean isItalic, float fontSize)`
    `(package private) static int` | `stringWidth(java.lang.Object fontMetrics, java.lang.String text)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AwtFont

          AwtFont()

  - ### Method Detail

    - #### newFont

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

    - #### getFontMetrics

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

    - #### getAscent

          static int getAscent(java.lang.Object fontMetrics)

    - #### getDescent

          static int getDescent(java.lang.Object fontMetrics)

    - #### stringWidth

          static int stringWidth(java.lang.Object fontMetrics,
                                 java.lang.String text)