public class BitmapFontData extends Object
Constructor and Description |
---|
BitmapFontData() |
Modifier and Type | Method and Description |
---|---|
void |
addBitmap(int index,
String name) |
void |
addCharacter(Character character,
BitmapFontCharacterInfo characterInfo) |
int |
getBitmapHeight() |
Map<Integer,String> |
getBitmaps() |
int |
getBitmapWidth() |
Map<Character,BitmapFontCharacterInfo> |
getCharacters() |
int |
getLineHeight() |
String |
getName() |
void |
setBitmapHeight(int bitmapHeight) |
void |
setBitmapWidth(int bitmapWidth) |
void |
setLineHeight(int lineHeight) |
void |
setName(String name) |
public String getName()
public void setName(String name)
name
- the name to setpublic void addBitmap(int index, String name)
bitmaps
- the bitmaps to setpublic int getBitmapWidth()
public void setBitmapWidth(int bitmapWidth)
bitmapWidth
- the bitmapWidth to setpublic int getBitmapHeight()
public void setBitmapHeight(int bitmapHeight)
bitmapHeight
- the bitmapHeight to setpublic int getLineHeight()
public void setLineHeight(int lineHeight)
lineHeight
- the lineHeight to setpublic Map<Character,BitmapFontCharacterInfo> getCharacters()
public void addCharacter(Character character, BitmapFontCharacterInfo characterInfo)
characters
- the characters to setCopyright © 2013. All Rights Reserved.