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