public class BitmapFont
extends java.lang.Object
Constructor and Description |
---|
BitmapFont(java.lang.String characters,
TextOptions textOptions) |
BitmapFont(java.lang.String characters,
TextOptions textOptions,
int textureMaxSize) |
Modifier and Type | Method and Description |
---|---|
protected Bitmap |
createBitmap() |
protected void |
findCharOffsets() |
java.lang.String |
getCharacters() |
AtlasFrame |
getCharFrame(char ch) |
BitmapFontMetrics |
getFontMetrics() |
TextOptions |
getTextOptions() |
Texture |
getTexture() |
Texture |
load(GLState glState)
This can only called on GL Thread
|
Texture |
load(TextureManager textureManager)
This can only called on GL Thread
|
public BitmapFont(java.lang.String characters, TextOptions textOptions)
public BitmapFont(java.lang.String characters, TextOptions textOptions, int textureMaxSize)
public Texture load(GLState glState)
glState
- public Texture load(TextureManager textureManager)
textureManager
- public java.lang.String getCharacters()
public TextOptions getTextOptions()
public BitmapFontMetrics getFontMetrics()
public Texture getTexture()
public AtlasFrame getCharFrame(char ch)
protected void findCharOffsets()
protected Bitmap createBitmap()