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 voiddraw(float x, float y)intgetKerning(int otherCodePoint)voidinit()java.lang.StringtoString()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:
toStringin classjava.lang.Object
-