public class CharData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected float |
ascent |
protected char |
c |
protected float |
height |
protected float |
u |
protected float |
U |
protected float |
v |
protected float |
V |
protected float |
width |
| Constructor and Description |
|---|
CharData(char c,
float ascent,
float width,
float height) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAscent() |
char |
getChar() |
float |
getCharHeight() |
float |
getCharWidth() |
float |
getFullHeight(FontGeneratorOptions options) |
float |
getFullWidth(FontGeneratorOptions options) |
Icon |
getIcon() |
void |
setUVs(float u,
float v,
float U,
float V) |
void |
setUVs(int x,
int y,
int size,
FontGeneratorOptions options) |
float |
u() |
float |
U() |
float |
v() |
float |
V() |
protected char c
protected float ascent
protected float width
protected float height
protected float u
protected float U
protected float v
protected float V
public char getChar()
public float u()
public float U()
public float v()
public float V()
public float getCharWidth()
public float getCharHeight()
public float getAscent()
public float getFullWidth(FontGeneratorOptions options)
public float getFullHeight(FontGeneratorOptions options)
public void setUVs(float u,
float v,
float U,
float V)
public void setUVs(int x,
int y,
int size,
FontGeneratorOptions options)
public Icon getIcon()