public interface FontGlyphLayout
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of this instance
|
GameFont |
getFont()
Returns the
GameFont that this FontGlyphLayout was created from |
float |
getHeight()
Returns the total height of the text
|
float |
getWidth()
Returns the total width of the text
|
void |
reset()
Resets this instance
|
void |
setText(java.lang.CharSequence str)
Sets the text to compute the geometry for
|
void |
setText(java.lang.CharSequence str,
Color color,
float targetWidth,
int halign,
boolean wrap)
Sets the text to compute the geometry for
|
void setText(java.lang.CharSequence str)
str
- The text to compute the geometry forvoid setText(java.lang.CharSequence str, Color color, float targetWidth, int halign, boolean wrap)
void reset()
void dispose()
float getWidth()
float getHeight()
GameFont getFont()
GameFont
that this FontGlyphLayout
was created from