public static class BitmapFont.BitmapFontData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
float |
ascent |
float |
capHeight |
float |
descent |
float |
down |
boolean |
flipped |
FileHandle |
fontFile |
BitmapFont.Glyph[][] |
glyphs |
java.lang.String |
imagePath |
float |
lineHeight |
float |
scaleX |
float |
scaleY |
float |
spaceWidth |
float |
xHeight |
| Constructor and Description |
|---|
BitmapFont.BitmapFontData()
Use this if you want to create BitmapFontData yourself, e.g.
|
BitmapFont.BitmapFontData(FileHandle fontFile,
boolean flip) |
| Modifier and Type | Method and Description |
|---|---|
BitmapFont.Glyph |
getFirstGlyph() |
FileHandle |
getFontFile() |
BitmapFont.Glyph |
getGlyph(char ch) |
java.lang.String |
getImagePath() |
void |
setGlyph(int ch,
BitmapFont.Glyph glyph) |
public java.lang.String imagePath
public FileHandle fontFile
public boolean flipped
public float lineHeight
public float capHeight
public float ascent
public float descent
public float down
public float scaleX
public float scaleY
public final BitmapFont.Glyph[][] glyphs
public float spaceWidth
public float xHeight
public BitmapFont.BitmapFontData()
public BitmapFont.BitmapFontData(FileHandle fontFile, boolean flip)
public void setGlyph(int ch,
BitmapFont.Glyph glyph)
public BitmapFont.Glyph getFirstGlyph()
public BitmapFont.Glyph getGlyph(char ch)
public java.lang.String getImagePath()
public FileHandle getFontFile()