public interface RenderFont
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
This RenderFont is not needed anymore.
|
Integer |
getCharacterAdvance(char currentCharacter,
char nextCharacter,
float size)
Return the advance of the given character including kerning information.
|
int |
getHeight()
The height of the font in pixel.
|
int |
getWidth(String text)
Get width in pixel of given text.
|
int getWidth(String text)
text - the text to measure.int getHeight()
Integer getCharacterAdvance(char currentCharacter, char nextCharacter, float size)
currentCharacter - current characternextCharacter - next charactersize - font sizevoid dispose()
Copyright © 2013. All Rights Reserved.