public class CoreFont extends LoadableResource
Modifier and Type | Class and Description |
---|---|
class |
CoreFont.FontChar |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
chars |
static ResourceList<CoreFont> |
list |
alias, path
Constructor and Description |
---|
CoreFont(java.io.File font) |
CoreFont(java.awt.Font font) |
CoreFont(java.lang.String font) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
CoreFont.FontChar[] |
getCharlist() |
float |
getHeight() |
Image |
getImage() |
void |
load() |
getAlias, getPath, setAlias
public static final ResourceList<CoreFont> list
public static java.lang.String chars
public CoreFont(java.awt.Font font) throws java.lang.Exception
java.lang.Exception
public CoreFont(java.io.File font) throws java.lang.Exception
java.lang.Exception
public CoreFont(java.lang.String font) throws java.lang.Exception
java.lang.Exception
public void load()
load
in class LoadableResource
public Image getImage()
public CoreFont.FontChar[] getCharlist()
public void destroy() throws java.lang.Exception
destroy
in class LoadableResource
java.lang.Exception
public float getHeight()