Package | Description |
---|---|
com.badlogic.gdx.assets.loaders | |
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.scenes.scene2d.ui |
Modifier and Type | Method and Description |
---|---|
BitmapFont |
BitmapFontLoader.loadSync(AssetManager manager,
java.lang.String fileName,
FileHandle file,
BitmapFontLoader.BitmapFontParameter parameter) |
Modifier and Type | Method and Description |
---|---|
BitmapFont |
BitmapFontCache.getFont() |
Modifier and Type | Method and Description |
---|---|
void |
GlyphLayout.setText(BitmapFont font,
java.lang.CharSequence str)
Calls
setText with the whole
string, the font's current color, and no alignment or wrapping. |
void |
GlyphLayout.setText(BitmapFont font,
java.lang.CharSequence str,
Color color,
float targetWidth,
int halign,
boolean wrap)
Calls
setText with the whole string
and no truncation. |
void |
GlyphLayout.setText(BitmapFont font,
java.lang.CharSequence str,
int start,
int end,
Color color,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate) |
Constructor and Description |
---|
BitmapFontCache(BitmapFont font) |
BitmapFontCache(BitmapFont font,
boolean integer) |
GlyphLayout(BitmapFont font,
java.lang.CharSequence str) |
GlyphLayout(BitmapFont font,
java.lang.CharSequence str,
Color color,
float targetWidth,
int halign,
boolean wrap) |
GlyphLayout(BitmapFont font,
java.lang.CharSequence str,
int start,
int end,
Color color,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate) |
Modifier and Type | Field and Description |
---|---|
BitmapFont |
Label.LabelStyle.font |
BitmapFont |
List.ListStyle.font |
BitmapFont |
SelectBox.SelectBoxStyle.font |
BitmapFont |
TextButton.TextButtonStyle.font |
BitmapFont |
TextField.TextFieldStyle.font |
BitmapFont |
TextField.TextFieldStyle.messageFont
Optional.
|
BitmapFont |
Window.WindowStyle.titleFont |
Modifier and Type | Method and Description |
---|---|
BitmapFont |
Skin.getFont(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
TextArea.drawCursor(Drawable cursorPatch,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawCursor(Drawable cursorPatch,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextArea.drawSelection(Drawable selection,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawSelection(Drawable selection,
Batch batch,
BitmapFont font,
float x,
float y)
Draws selection rectangle
|
protected void |
TextArea.drawText(Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawText(Batch batch,
BitmapFont font,
float x,
float y) |
protected float |
TextArea.getTextY(BitmapFont font,
Drawable background) |
protected float |
TextField.getTextY(BitmapFont font,
Drawable background) |
Constructor and Description |
---|
CheckBoxStyle(Drawable checkboxOff,
Drawable checkboxOn,
BitmapFont font,
Color fontColor) |
ImageTextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
LabelStyle(BitmapFont font,
Color fontColor) |
ListStyle(BitmapFont font,
Color fontColorSelected,
Color fontColorUnselected,
Drawable selection) |
SelectBoxStyle(BitmapFont font,
Color fontColor,
Drawable background,
ScrollPane.ScrollPaneStyle scrollStyle,
List.ListStyle listStyle) |
TextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
TextFieldStyle(BitmapFont font,
Color fontColor,
Drawable cursor,
Drawable selection,
Drawable background) |
WindowStyle(BitmapFont titleFont,
Color titleFontColor,
Drawable background) |