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 Details

    • refreshConf

      static void refreshConf()
      Used for tests
    • 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