Package | Description |
---|---|
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.scenes.scene2d.ui |
Modifier and Type | Method and Description |
---|---|
GlyphLayout |
BitmapFontCache.addText(java.lang.CharSequence str,
float x,
float y)
Adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.addText(java.lang.CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.addText(java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap)
Adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.addText(java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate)
Adds glyphs for the the specified text.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate)
Draws text at the specified position.
|
GlyphLayout |
BitmapFontCache.setText(java.lang.CharSequence str,
float x,
float y)
Clears any cached glyphs and adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.setText(java.lang.CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Clears any cached glyphs and adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.setText(java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap)
Clears any cached glyphs and adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.setText(java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate)
Clears any cached glyphs and adds glyphs for the specified text.
|
Modifier and Type | Method and Description |
---|---|
Array<GlyphLayout> |
BitmapFontCache.getLayouts() |
Modifier and Type | Method and Description |
---|---|
void |
BitmapFontCache.addText(GlyphLayout layout,
float x,
float y)
Adds the specified glyphs.
|
void |
BitmapFont.draw(Batch batch,
GlyphLayout layout,
float x,
float y)
Draws text at the specified position.
|
void |
BitmapFontCache.setText(GlyphLayout layout,
float x,
float y)
Clears any cached glyphs and adds the specified glyphs.
|
Modifier and Type | Field and Description |
---|---|
protected GlyphLayout |
TextField.layout |
Modifier and Type | Method and Description |
---|---|
protected GlyphLayout |
List.drawItem(Batch batch,
BitmapFont font,
int index,
T item,
float x,
float y,
float width) |
protected GlyphLayout |
SelectBox.drawItem(Batch batch,
BitmapFont font,
T item,
float x,
float y,
float width) |
GlyphLayout |
Label.getGlyphLayout() |