public class FontData
extends java.lang.Object
Constructor and Description |
---|
FontData(java.lang.String dataFileLoc,
java.lang.String texFileLoc) |
Modifier and Type | Method and Description |
---|---|
void |
DisposeFontTexture(GraphicsPipeline pipe) |
double |
GetCharLeft(char c) |
double |
GetCharRight(char c) |
double |
GetCharWidth(char c,
double width) |
JoglTexture |
getTexture() |
JoglTexture |
getTexture(GraphicsPipeline pipe) |
void |
LoadFontTexture(GraphicsPipeline pipe) |
public FontData(java.lang.String dataFileLoc, java.lang.String texFileLoc)
public void LoadFontTexture(GraphicsPipeline pipe)
public void DisposeFontTexture(GraphicsPipeline pipe)
public JoglTexture getTexture()
public JoglTexture getTexture(GraphicsPipeline pipe)
public double GetCharLeft(char c)
public double GetCharRight(char c)
public double GetCharWidth(char c, double width)