Package zombie.core.fonts
Class AngelCodeFont.CharDef
java.lang.Object
zombie.core.fonts.AngelCodeFont.CharDef
- Enclosing class:
- AngelCodeFont
public class AngelCodeFont.CharDef
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CharDef()
-
Method Summary
Modifier and Type Method Description void
draw(float x, float y)
int
getKerning(int otherCodePoint)
void
init()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
dlIndex
public short dlIndex -
height
public short height -
id
public int id -
image
-
kerning
public short[] kerning -
width
public short width -
x
public short x -
xadvance
public short xadvance -
xoffset
public short xoffset -
y
public short y -
yoffset
public short yoffset -
page
public short page
-
-
Constructor Details
-
CharDef
public CharDef()
-
-
Method Details
-
draw
public void draw(float x, float y) -
getKerning
public int getKerning(int otherCodePoint) -
init
public void init() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-