Package | Description |
---|---|
com.badlogic.gdx.graphics.g2d |
Modifier and Type | Field and Description |
---|---|
BitmapFont.Glyph[][] |
BitmapFont.BitmapFontData.glyphs |
BitmapFont.Glyph |
BitmapFont.BitmapFontData.missingGlyph
The glyph to display for characters not in the font.
|
Modifier and Type | Field and Description |
---|---|
Array<BitmapFont.Glyph> |
GlyphLayout.GlyphRun.glyphs |
Modifier and Type | Method and Description |
---|---|
BitmapFont.Glyph |
BitmapFont.BitmapFontData.getFirstGlyph() |
BitmapFont.Glyph |
BitmapFont.BitmapFontData.getGlyph(char ch)
Returns the glyph for the specified character, or null if no such glyph exists.
|
Modifier and Type | Method and Description |
---|---|
void |
BitmapFont.BitmapFontData.getGlyphs(GlyphLayout.GlyphRun run,
java.lang.CharSequence str,
int start,
int end,
BitmapFont.Glyph lastGlyph)
Using the specified string, populates the glyphs and positions of the specified glyph run.
|
void |
BitmapFont.BitmapFontData.setGlyph(int ch,
BitmapFont.Glyph glyph) |
void |
BitmapFont.BitmapFontData.setGlyphRegion(BitmapFont.Glyph glyph,
TextureRegion region) |
Modifier and Type | Method and Description |
---|---|
int |
BitmapFont.BitmapFontData.getWrapIndex(Array<BitmapFont.Glyph> glyphs,
int start)
Returns the first valid glyph index to use to wrap to the next line, starting at the specified start index and
(typically) moving toward the beginning of the glyphs array.
|