public class FontManager
extends java.lang.Object
| Constructor and Description | 
|---|
FontManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.awt.Font | 
getFont(java.lang.String familyName,
       int style,
       int size)
Get a system font that matches the font family name, style and size. 
 | 
static java.awt.Font | 
getPriorityFont(java.lang.String[] familyFontNamnes,
               int style,
               int size)
Get a system font that matches one the font family names with the style and size. 
 | 
public static java.awt.Font getPriorityFont(java.lang.String[] familyFontNamnes,
                            int style,
                            int size)
familyFontNamnes - user defined list of family font names or null to use default liststyle - Font.PLAIN, Font.BOLD, Font.Italicsize - font sizepublic static java.awt.Font getFont(java.lang.String familyName,
                    int style,
                    int size)
familyName - font family name e.g. "Arial", "Trebuchet MS" ...style - Font.PLAIN, Font.BOLD, Font.Italicsize - font sizeProcessing library G4P by Peter Lager. (c) 2017