@Deprecated public class AngelCodeFont extends Object
| Constructor and Description |
|---|
AngelCodeFont(NiftyResourceLoader resourceLoader)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CharacterInfo |
getChar(char c)
Deprecated.
get character info for the given char
|
HashMap<Character,CharacterInfo> |
getChars()
Deprecated.
|
int |
getHeight()
Deprecated.
|
int |
getLineHeight()
Deprecated.
|
String |
getName()
Deprecated.
get the font name
|
int |
getNumChars()
Deprecated.
|
String[] |
getTextures()
Deprecated.
get the font texture
|
int |
getWidth()
Deprecated.
|
boolean |
load(InputStream in)
Deprecated.
|
boolean |
load(String filename)
Deprecated.
load the font with the given name.
|
public AngelCodeFont(NiftyResourceLoader resourceLoader)
public boolean load(@Nonnull String filename)
filename - file to loadpublic boolean load(@Nonnull InputStream in)
public String getName()
public int getNumChars()
public CharacterInfo getChar(char c)
c - @Nonnull public HashMap<Character,CharacterInfo> getChars()
public int getHeight()
public int getWidth()
public int getLineHeight()
Copyright © 2016. All rights reserved.