| Constructor and Description | 
|---|
| BitmapFont() | 
| BitmapFont(com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData data,
          com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g2d.TextureRegion> pageRegions,
          boolean integer) | 
| BitmapFont(com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData data,
          com.badlogic.gdx.graphics.g2d.TextureRegion region,
          boolean integer) | 
| BitmapFont(com.badlogic.gdx.files.FileHandle fileHandle) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | draw(Graphics g,
    java.lang.String str,
    float x,
    float y)Draws text to the  Graphicscontext using this font | 
| void | draw(Graphics g,
    java.lang.String str,
    float x,
    float y,
    float targetWidth)Draws text to the  Graphicscontext using this font | 
| void | draw(Graphics g,
    java.lang.String str,
    float x,
    float y,
    float targetWidth,
    int horizontalAlignment,
    boolean wrap)Draws text to the  Graphicscontext using this font | 
| FontGlyphLayout | getSharedGlyphLayout()Returns a  FontGlyphLayoutinstance associated with thisGameFontinstance | 
| GameFontCache | newCache()Creates a  GameFontCachefor this font | 
| FontGlyphLayout | newGlyphLayout()Creates a  FontGlyphLayoutfor this font | 
| boolean | useIntegerPositions()Returns if characters use integer positions | 
dispose, draw, draw, draw, draw, draw, getAscent, getCache, getCapHeight, getColor, getData, getDescent, getLineHeight, getRegion, getRegion, getRegions, getScaleX, getScaleY, getSpaceWidth, getXHeight, isFlipped, load, newFontCache, ownsTexture, setColor, setColor, setFixedWidthGlyphs, setOwnsTexture, setUseIntegerPositions, toString, usesIntegerPositionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getCapHeight, getColor, getLineHeight, setColorpublic BitmapFont()
public BitmapFont(com.badlogic.gdx.files.FileHandle fileHandle)
public BitmapFont(com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData data,
                  com.badlogic.gdx.graphics.g2d.TextureRegion region,
                  boolean integer)
public BitmapFont(com.badlogic.gdx.graphics.g2d.BitmapFont.BitmapFontData data,
                  com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g2d.TextureRegion> pageRegions,
                  boolean integer)
public void draw(Graphics g, java.lang.String str, float x, float y)
GameFontGraphics context using this fontpublic void draw(Graphics g, java.lang.String str, float x, float y, float targetWidth)
GameFontGraphics context using this fontpublic void draw(Graphics g, java.lang.String str, float x, float y, float targetWidth, int horizontalAlignment, boolean wrap)
GameFontGraphics context using this fontdraw in interface GameFontg - The Graphics contextstr - The text to renderx - The x coordinate to draw aty - The y coordinate to draw attargetWidth - The target width to render withhorizontalAlignment - The horizontal alignment within the targetWidth. See Alignwrap - True if text should wrap if exceeding targetWidth, false if it should clippublic FontGlyphLayout newGlyphLayout()
GameFontFontGlyphLayout for this fontnewGlyphLayout in interface GameFontFontGlyphLayout instancepublic FontGlyphLayout getSharedGlyphLayout()
GameFontFontGlyphLayout instance associated with this GameFont instancegetSharedGlyphLayout in interface GameFontFontGlyphLayout instance attached to this fontpublic GameFontCache newCache()
GameFontGameFontCache for this fontnewCache in interface GameFontGameFontCache instancepublic boolean useIntegerPositions()
GameFontuseIntegerPositions in interface GameFont