public class FontLoader
extends com.harium.etyl.loader.LoaderImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FONT |
protected Map<String,Font> |
fonts |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeFont(String fontName) |
Font |
getFont(String fontName,
float size) |
static FontLoader |
getInstance() |
String[] |
getSystemFonts() |
Font |
loadFont(String path) |
Font |
loadFont(String path,
boolean absolute) |
Font |
loadSystemFont(String name) |
void |
setSystemFonts(String[] systemFonts) |
public static FontLoader getInstance()
public String[] getSystemFonts()
public void setSystemFonts(String[] systemFonts)
public void disposeFont(String fontName)
Copyright © 2019. All rights reserved.