Package zombie.core.fonts
Class AngelCodeFont
java.lang.Object
zombie.core.fonts.AngelCodeFont
- All Implemented Interfaces:
Font
public class AngelCodeFont extends java.lang.Object implements Font
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AngelCodeFont.CharDef
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AngelCodeFont(java.lang.String string, java.lang.String string2)
AngelCodeFont(java.lang.String string, Texture texture)
-
Method Summary
Modifier and Type Method Description void
drawString(float float1, float float2, java.lang.String string)
void
drawString(float float1, float float2, java.lang.String string, float float3, float float4, float float5, float float6)
void
drawString(float float1, float float2, java.lang.String string, float float3, float float4, float float5, float float6, int int1, int int2)
void
drawString(float float1, float float2, java.lang.String string, Color color)
void
drawString(float float1, float float2, java.lang.String string, Color color, int int1, int int2)
int
getHeight(java.lang.String string)
int
getLineHeight()
int
getWidth(java.lang.String string)
int
getWidth(java.lang.String string, boolean boolean1)
int
getYOffset(java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
chars
-
zoom
public float zoom -
xoff
public int xoff -
yoff
public int yoff -
curCol
-
curR
public static float curR -
curG
public static float curG -
curB
public static float curB -
curA
public static float curA
-
-
Constructor Details
-
AngelCodeFont
public AngelCodeFont(java.lang.String string, Texture texture) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
AngelCodeFont
public AngelCodeFont(java.lang.String string, java.lang.String string2) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
-
Method Details
-
drawString
public void drawString(float float1, float float2, java.lang.String string)- Specified by:
drawString
in interfaceFont
-
drawString
- Specified by:
drawString
in interfaceFont
-
drawString
public void drawString(float float1, float float2, java.lang.String string, float float3, float float4, float float5, float float6) -
drawString
public void drawString(float float1, float float2, java.lang.String string, Color color, int int1, int int2)- Specified by:
drawString
in interfaceFont
-
drawString
public void drawString(float float1, float float2, java.lang.String string, float float3, float float4, float float5, float float6, int int1, int int2) -
getHeight
public int getHeight(java.lang.String string) -
getLineHeight
public int getLineHeight()- Specified by:
getLineHeight
in interfaceFont
-
getWidth
public int getWidth(java.lang.String string) -
getWidth
public int getWidth(java.lang.String string, boolean boolean1) -
getYOffset
public int getYOffset(java.lang.String string)
-