Package com.t3_tp3d.game.renderer.font
Class GlyphData
- java.lang.Object
-
- com.t3_tp3d.game.renderer.font.GlyphData
-
public class GlyphData extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GlyphData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeUvs(int textureWidth, int textureHeight)
int
getHeight()
char
getId()
float
getU()
float
getU2()
float
getV()
float
getV2()
int
getWidth()
int
getX()
int
getXadvance()
int
getXoffset()
int
getY()
int
getYoffset()
void
setHeight(int height)
void
setId(char id)
void
setWidth(int width)
void
setX(int x)
void
setXadvance(int xadvance)
void
setXoffset(int xoffset)
void
setY(int y)
void
setYoffset(int yoffset)
-
-
-
Method Detail
-
getU
public float getU()
-
getV
public float getV()
-
getU2
public float getU2()
-
getV2
public float getV2()
-
setId
public void setId(char id)
-
setX
public void setX(int x)
-
setY
public void setY(int y)
-
setWidth
public void setWidth(int width)
-
setHeight
public void setHeight(int height)
-
setXoffset
public void setXoffset(int xoffset)
-
setYoffset
public void setYoffset(int yoffset)
-
setXadvance
public void setXadvance(int xadvance)
-
getId
public char getId()
-
getX
public int getX()
-
getY
public int getY()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getXoffset
public int getXoffset()
-
getYoffset
public int getYoffset()
-
getXadvance
public int getXadvance()
-
computeUvs
public void computeUvs(int textureWidth, int textureHeight)
-
-