zombie.ui
Class TextManager
java.lang.Object
zombie.ui.TextManager
public class TextManager
- extends java.lang.Object
Method Summary |
void |
DrawString(double x,
double y,
java.lang.String str)
|
void |
DrawString(double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
|
void |
DrawString(UIFont font,
double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
|
void |
DrawStringCentre(double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
|
void |
DrawStringCentre(UIFont font,
double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
|
void |
DrawStringRight(double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
|
void |
DrawStringRight(UIFont font,
double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
|
AngelCodeFont |
getFontFromEnum(UIFont font)
|
void |
Init()
|
int |
MeasureFont(UIFont font)
|
int |
MeasureStringX(UIFont font,
java.lang.String str)
|
int |
MeasureStringY(UIFont font,
java.lang.String str)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
font
public AngelCodeFont font
font2
public AngelCodeFont font2
font3
public AngelCodeFont font3
font4
public AngelCodeFont font4
main1
public AngelCodeFont main1
main2
public AngelCodeFont main2
zombiefontcredits1
public AngelCodeFont zombiefontcredits1
zombiefontcredits2
public AngelCodeFont zombiefontcredits2
zombienew1
public AngelCodeFont zombienew1
zombienew2
public AngelCodeFont zombienew2
zombienew3
public AngelCodeFont zombienew3
instance
public static TextManager instance
TextManager
public TextManager()
DrawString
public void DrawString(double x,
double y,
java.lang.String str)
DrawString
public void DrawString(double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
DrawString
public void DrawString(UIFont font,
double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
DrawStringCentre
public void DrawStringCentre(double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
DrawStringCentre
public void DrawStringCentre(UIFont font,
double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
DrawStringRight
public void DrawStringRight(double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
getFontFromEnum
public AngelCodeFont getFontFromEnum(UIFont font)
DrawStringRight
public void DrawStringRight(UIFont font,
double x,
double y,
java.lang.String str,
double r,
double g,
double b,
double a)
Init
public void Init()
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
MeasureStringX
public int MeasureStringX(UIFont font,
java.lang.String str)
MeasureStringY
public int MeasureStringY(UIFont font,
java.lang.String str)
MeasureFont
public int MeasureFont(UIFont font)