Class FontFactory

java.lang.Object
org.loboevolution.laf.FontFactory

public final class FontFactory extends Object
A factory for creating Font objects.
  • Method Details

    • getFont

      public Font getFont(FontKey key)
      Gets the font.
      Parameters:
      key - the key
      Returns:
      a Font object.
    • scriptFont

      public Font scriptFont(Font baseFont, FontKey key)
      Script font.
      Parameters:
      baseFont - the base font
      key - a FontKey object.
      Returns:
      the font