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 BitmapFontBitmapFontLoader. 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 classDistanceFieldFontRenders 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 BitmapFontBitmapFontCache. getFont()Methods in com.badlogic.gdx.graphics.g2d with parameters of type BitmapFont Modifier and Type Method Description voidGlyphLayout. setText(BitmapFont font, java.lang.CharSequence str)CallssetTextwith the whole string, the font's current color, and no alignment or wrapping.voidGlyphLayout. setText(BitmapFont font, java.lang.CharSequence str, int start, int end, Color color, float targetWidth, int halign, boolean wrap, java.lang.String truncate)voidGlyphLayout. setText(BitmapFont font, java.lang.CharSequence str, Color color, float targetWidth, int halign, boolean wrap)CallssetTextwith 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 BitmapFontLabel.LabelStyle. fontBitmapFontList.ListStyle. fontBitmapFontSelectBox.SelectBoxStyle. fontBitmapFontTextButton.TextButtonStyle. fontBitmapFontTextField.TextFieldStyle. fontBitmapFontTextField.TextFieldStyle. messageFontBitmapFontWindow.WindowStyle. titleFontMethods in com.badlogic.gdx.scenes.scene2d.ui that return BitmapFont Modifier and Type Method Description BitmapFontSkin. getFont(java.lang.String name)Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type BitmapFont Modifier and Type Method Description protected voidTextArea. drawCursor(Drawable cursorPatch, Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawCursor(Drawable cursorPatch, Batch batch, BitmapFont font, float x, float y)protected GlyphLayoutList. drawItem(Batch batch, BitmapFont font, int index, T item, float x, float y, float width)protected GlyphLayoutSelectBox. drawItem(Batch batch, BitmapFont font, T item, float x, float y, float width)protected voidTextField. drawMessageText(Batch batch, BitmapFont font, float x, float y, float maxWidth)protected voidTextArea. drawSelection(Drawable selection, Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawSelection(Drawable selection, Batch batch, BitmapFont font, float x, float y)Draws selection rectangleprotected voidTextArea. drawText(Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawText(Batch batch, BitmapFont font, float x, float y)protected floatTextArea. getTextY(BitmapFont font, Drawable background)protected floatTextField. 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)
-