public class

BitmapFont

extends Object
implements IFont
java.lang.Object
   ↳ org.andengine.opengl.font.BitmapFont

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 Methods
int getBase()
BitmapFont.BitmapFontInfo getBitmapFontInfo()
BitmapFont.BitmapFontPage getBitmapFontPage(int pIndex)
int getBitmapFontPageCount()
BitmapFontPage[] getBitmapFontPages()
Letter getLetter(char pChar)
float getLineHeight()
int getScaleHeight()
int getScaleWidth()
ITexture getTexture()
boolean isPacked()
void load()
void loadTextures()
void unload()
void unloadTextures()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.andengine.opengl.font.IFont

Public Constructors

public BitmapFont (TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath)

public BitmapFont (TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)

public BitmapFont (TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, TextureOptions pTextureOptions)

public BitmapFont (TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)

public BitmapFont (TextureManager pTextureManager, AssetManager pAssetManager, String pAssetPath, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, BitmapFont.BitmapFontOptions pBitmapFontOptions)

Public Methods

public int getBase ()

public BitmapFont.BitmapFontInfo getBitmapFontInfo ()

public BitmapFont.BitmapFontPage getBitmapFontPage (int pIndex)

public int getBitmapFontPageCount ()

public BitmapFontPage[] getBitmapFontPages ()

public Letter getLetter (char pChar)

public float getLineHeight ()

public int getScaleHeight ()

public int getScaleWidth ()

public ITexture getTexture ()

public boolean isPacked ()

public void load ()

public void loadTextures ()

public void unload ()

public void unloadTextures ()