|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RenderFont
RenderFont Interface.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 size
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||