guicomponents

## Class GFont

- java.lang.Object
- - guicomponents.GFont

-     public class GFont
      extends Object

  This class only has static methods and are used to create and return PFont objects for use by the GUI components.
  Author:
    Peter Lager

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GFont()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PFont` | `getDefaultFont(PApplet theApplet)` A quick way to get the default Sans Serif font (11pt)
    `static PFont` | `getFont(PApplet theApplet, String fontname, int fsize)` Create a font

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

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

- - ### Constructor Detail

    - #### GFont

          public GFont()

  - ### Method Detail

    - #### getFont

          public static PFont getFont(PApplet theApplet,
                      String fontname,
                      int fsize)

      Create a font
      Parameters:
        `theApplet` -
        `fontname` - system name for font
        `fsize` - size of font to create (8 - 144 incl)
      Returns:
        the matching PFont object

    - #### getDefaultFont

          public static PFont getDefaultFont(PApplet theApplet)

      A quick way to get the default Sans Serif font (11pt)
      Parameters:
        `theApplet` -
      Returns:
        the applet's default color scheme

Processing library guicomponents by Peter Lager. (C) 2012