com.badlogic.gdx.graphics.g2d
Class BitmapFont.BitmapFontData
java.lang.Object
com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData
- Enclosing class:
- BitmapFont
public static class BitmapFont.BitmapFontData
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
imagePath
public java.lang.String imagePath
fontFile
public FileHandle fontFile
flipped
public boolean flipped
lineHeight
public float lineHeight
capHeight
public float capHeight
ascent
public float ascent
descent
public float descent
down
public float down
scaleX
public float scaleX
scaleY
public float scaleY
glyphs
public final BitmapFont.Glyph[][] glyphs
spaceWidth
public float spaceWidth
xHeight
public float xHeight
BitmapFont.BitmapFontData
public BitmapFont.BitmapFontData()
- Use this if you want to create BitmapFontData yourself, e.g. from stb-truetype of FreeType.
BitmapFont.BitmapFontData
public BitmapFont.BitmapFontData(FileHandle fontFile,
boolean flip)
setGlyph
public void setGlyph(int ch,
BitmapFont.Glyph glyph)
getFirstGlyph
public BitmapFont.Glyph getFirstGlyph()
getGlyph
public BitmapFont.Glyph getGlyph(char ch)
getImagePath
public java.lang.String getImagePath()
getFontFile
public FileHandle getFontFile()
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)