Example usage for Java com.badlogic.gdx.graphics.g2d GlyphLayout fields, constructors, methods, implement or subclass
The text is from its open source code.
GlyphLayout(BitmapFont font, CharSequence str) | |
GlyphLayout() Creates an empty GlyphLayout. | |
GlyphLayout(BitmapFont font, CharSequence str, Color color, float targetWidth, int halign, boolean wrap) |
void | setText(BitmapFont font, CharSequence str) Calls #setText(BitmapFont,CharSequence,int,int,Color,float,int,boolean,String) setText with the whole string, the font's current color, and no alignment or wrapping. |
void | setText(BitmapFont font, CharSequence str, Color color, float targetWidth, int halign, boolean wrap) Calls #setText(BitmapFont,CharSequence,int,int,Color,float,int,boolean,String) setText with the whole string and no truncation. |
void | setText(BitmapFont font, CharSequence str, int start, int end, Color color, float targetWidth, int halign, boolean wrap, String truncate) |