public class FontUtils
extends java.lang.Object
clearDerivedFontCache() .| Constructor | Description |
|---|---|
FontUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
clearDerivedFontCache() |
Clear cache whenever needed.
|
static java.awt.Font |
getCachedDerivedFont(java.awt.Font font,
int style,
int size) |
Get derived font by font, style and size.
|
static int |
getDerivedFontCacheSize() |
Gets the derived font cache size.
|
public static int getDerivedFontCacheSize()
public static void clearDerivedFontCache()
public static java.awt.Font getCachedDerivedFont(java.awt.Font font,
int style,
int size)
font - the original fontstyle - the font stylesize - the font size