public class FontCache extends Object
Constructor and Description |
---|
FontCache() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAvailableFonts()
Returns the set of font families and font faces available in the system and those manually
loaded into the cache
|
static FontCache |
getDefaultInsance()
Deprecated.
Use
getDefaultInstance() instead |
static FontCache |
getDefaultInstance()
Returns the default, system wide font cache
|
Font |
getFont(String requestedFont) |
void |
registerFont(Font f)
Adds the specified font in the font cache.
|
void |
resetCache()
Resets the font loading cache.
|
public static FontCache getDefaultInsance()
getDefaultInstance()
insteadpublic static FontCache getDefaultInstance()
public void registerFont(Font f)
f
- public void resetCache()
Copyright © 1996–2019 Geotools. All rights reserved.