Uses of Class
com.badlogic.gdx.graphics.g2d.BitmapFont
-
Packages that use BitmapFont Package Description com.badlogic.gdx.assets.loaders com.badlogic.gdx.graphics.g2d com.badlogic.gdx.scenes.scene2d.ui -
-
Uses of BitmapFont in com.badlogic.gdx.assets.loaders
Methods in com.badlogic.gdx.assets.loaders that return BitmapFont Modifier and Type Method Description BitmapFont
BitmapFontLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter)
-
Uses of BitmapFont in com.badlogic.gdx.graphics.g2d
Subclasses of BitmapFont in com.badlogic.gdx.graphics.g2d Modifier and Type Class Description class
DistanceFieldFont
Renders bitmap fonts using distance field textures, see the Distance Field Fonts wiki article for usage.Methods in com.badlogic.gdx.graphics.g2d that return BitmapFont Modifier and Type Method Description BitmapFont
BitmapFontCache. getFont()
Methods in com.badlogic.gdx.graphics.g2d with parameters of type BitmapFont Modifier and Type Method Description void
GlyphLayout. setText(BitmapFont font, java.lang.CharSequence str)
CallssetText
with the whole string, the font's current color, and no alignment or wrapping.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)
void
GlyphLayout. setText(BitmapFont font, java.lang.CharSequence str, Color color, float targetWidth, int halign, boolean wrap)
CallssetText
with the whole string and no truncation.Constructors in com.badlogic.gdx.graphics.g2d with parameters of type BitmapFont Constructor Description BitmapFontCache(BitmapFont font)
BitmapFontCache(BitmapFont font, boolean integer)
GlyphLayout(BitmapFont font, java.lang.CharSequence str)
GlyphLayout(BitmapFont font, java.lang.CharSequence str, int start, int end, Color color, float targetWidth, int halign, boolean wrap, java.lang.String truncate)
GlyphLayout(BitmapFont font, java.lang.CharSequence str, Color color, float targetWidth, int halign, boolean wrap)
-
Uses of BitmapFont in com.badlogic.gdx.scenes.scene2d.ui
Fields in com.badlogic.gdx.scenes.scene2d.ui declared as BitmapFont Modifier and Type Field 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
BitmapFont
Window.WindowStyle. titleFont
Methods in com.badlogic.gdx.scenes.scene2d.ui that return BitmapFont Modifier and Type Method Description BitmapFont
Skin. getFont(java.lang.String name)
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type BitmapFont Modifier and Type Method 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 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)
protected void
TextField. drawMessageText(Batch batch, BitmapFont font, float x, float y, float maxWidth)
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 rectangleprotected 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)
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type BitmapFont Constructor 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)
-