public class RenderFontJava2dWithAngelCodeImpl extends Object implements RenderFont
| Constructor and Description |
|---|
RenderFontJava2dWithAngelCodeImpl(AngelCodeFont angelCodeFont,
Map<String,RenderImage> textureImages) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
AngelCodeFont |
getAngelCodeFont() |
int |
getCharacterAdvance(char currentCharacter,
char nextCharacter,
float size) |
int |
getHeight() |
RenderImage |
getRenderImage(String texture) |
int |
getWidth(String text) |
int |
getWidth(String text,
float size) |
public RenderFontJava2dWithAngelCodeImpl(@Nonnull AngelCodeFont angelCodeFont, @Nonnull Map<String,RenderImage> textureImages)
@Nonnull public AngelCodeFont getAngelCodeFont()
public int getCharacterAdvance(char currentCharacter,
char nextCharacter,
float size)
getCharacterAdvance in interface RenderFontpublic int getHeight()
getHeight in interface RenderFontpublic int getWidth(@Nonnull String text)
getWidth in interface RenderFontpublic int getWidth(@Nonnull String text, float size)
getWidth in interface RenderFontpublic void dispose()
dispose in interface RenderFontpublic RenderImage getRenderImage(String texture)
Copyright © 2016. All rights reserved.