Package arc.graphics.g2d
Class Font.Glyph
java.lang.Object
arc.graphics.g2d.Font.Glyph
- Direct Known Subclasses:
FGlyph
- Enclosing class:
- Font
Represents a single character in a font page.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getKerning
(char ch) void
setKerning
(int ch, int value) toString()
-
Field Details
-
id
public int id -
srcX
public int srcX -
srcY
public int srcY -
width
public int width -
height
public int height -
u
public float u -
v
public float v -
u2
public float u2 -
v2
public float v2 -
xoffset
public int xoffset -
yoffset
public int yoffset -
xadvance
public int xadvance -
kerning
public byte[][] kerning -
fixedWidth
public boolean fixedWidth -
page
public int pageThe index to the texture page that holds this glyph.
-
-
Constructor Details
-
Glyph
public Glyph()
-
-
Method Details