public class TextImageRenderer extends Object
Modifier and Type | Field and Description |
---|---|
protected Font |
font |
protected static int |
OFFSET_CONSTANT |
protected String |
text |
Constructor and Description |
---|
TextImageRenderer(String txt,
Font font) |
Modifier and Type | Method and Description |
---|---|
BufferedImageTexture |
getImage() |
BufferedImageTexture |
getImage(float ratio) |
IntegerCoord2d |
guessImageDimension(String text) |
protected static int OFFSET_CONSTANT
protected String text
protected Font font
public BufferedImageTexture getImage()
public BufferedImageTexture getImage(float ratio)
public IntegerCoord2d guessImageDimension(String text)
Copyright © 2016. All rights reserved.