public class BitmapFontGlyphLayout extends com.badlogic.gdx.graphics.g2d.GlyphLayout implements FontGlyphLayout
| Constructor and Description | 
|---|
| BitmapFontGlyphLayout(BitmapFont bitmapFont) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose()Disposes of this instance | 
| GameFont | getFont()Returns the  GameFontthat thisFontGlyphLayoutwas created from | 
| float | getHeight()Returns the total height of the text | 
| float | getWidth()Returns the total width of the text | 
| void | setText(java.lang.CharSequence str)Sets the text to compute the geometry for | 
| void | setText(java.lang.CharSequence str,
       com.badlogic.gdx.graphics.Color color,
       float targetWidth,
       int halign,
       boolean wrap)Sets the text to compute the geometry for | 
reset, setText, setText, setText, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitresetpublic BitmapFontGlyphLayout(BitmapFont bitmapFont)
public void setText(java.lang.CharSequence str)
FontGlyphLayoutsetText in interface FontGlyphLayoutstr - The text to compute the geometry forpublic void setText(java.lang.CharSequence str,
                    com.badlogic.gdx.graphics.Color color,
                    float targetWidth,
                    int halign,
                    boolean wrap)
FontGlyphLayoutsetText in interface FontGlyphLayoutstr - The text to compute the geometry forcolor - The Color of the textpublic void dispose()
FontGlyphLayoutdispose in interface FontGlyphLayoutpublic float getWidth()
FontGlyphLayoutgetWidth in interface FontGlyphLayoutpublic float getHeight()
FontGlyphLayoutgetHeight in interface FontGlyphLayoutpublic GameFont getFont()
FontGlyphLayoutGameFont that this FontGlyphLayout was created fromgetFont in interface FontGlyphLayout