| Package | Description |
|---|---|
| com.badlogic.gdx.graphics.g2d | |
| com.badlogic.gdx.scenes.scene2d.ui |
| Modifier and Type | Method and Description |
|---|---|
GlyphLayout |
BitmapFontCache.addText(CharSequence str,
float x,
float y)
Adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.addText(CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.addText(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(CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
String truncate)
Adds glyphs for the the specified text.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
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,
CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
String truncate)
Draws text at the specified position.
|
GlyphLayout |
BitmapFontCache.setText(CharSequence str,
float x,
float y)
Clears any cached glyphs and adds glyphs for the specified text.
|
GlyphLayout |
BitmapFontCache.setText(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(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(CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
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 | Method and Description |
|---|---|
GlyphLayout |
Label.getGlyphLayout() |
Copyright © 2021. All rights reserved.