org.rrd4j.graph

## Class RrdGraphConstants.FontConstructor

- java.lang.Object
- - org.rrd4j.graph.RrdGraphConstants.FontConstructor

- Enclosing interface:
    RrdGraphConstants

      public static class RrdGraphConstants.FontConstructor
      extends Object

  Font constructor, to use embedded fonts. Not really useful outside internal use for RRD4J.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Font` | `getFont(int type, int size)` Return the default RRD4J's default font for the given strength
    `(package private) static void` | `refreshConf()` Used for tests

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

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

- - ### Method Detail

    - #### getFont

          public static Font getFont(int type,
                                     int size)

      Return the default RRD4J's default font for the given strength
      Parameters:
        `type` - `Font.BOLD` for a bold fond, any other value return plain style.
        `size` - the size for the new Font
      Returns:
        a new `Font` instance

    - #### refreshConf

          static void refreshConf()

      Used for tests