Class Overview
The BitmapFont class is capable of parsing and loading *.fnt fonts.
A BitmapFont, just like a Font can be used to create Text objects.
Use any of these editors to generate *.fnt fonts:
(c) Zynga 2011
Summary
| Nested Classes |
|
class |
BitmapFont.BitmapFontInfo |
|
|
class |
BitmapFont.BitmapFontOptions |
|
|
class |
BitmapFont.BitmapFontPage |
|
| Public Constructors |
|
|
BitmapFont(TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath)
|
|
|
BitmapFont(TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)
|
|
|
BitmapFont(TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, TextureOptions pTextureOptions)
|
|
|
BitmapFont(TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)
|
|
|
BitmapFont(TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, BitmapFont.BitmapFontOptions pBitmapFontOptions)
|
Public Constructors
Public Methods
public
int
getBitmapFontPageCount
()
public
Letter
getLetter
(char pChar)
public
float
getLineHeight
()
public
int
getScaleHeight
()
public
int
getScaleWidth
()
public
boolean
isPacked
()
public
void
loadTextures
()
public
void
unloadTextures
()