Package zombie.ui

Class TextManager

java.lang.Object
zombie.ui.TextManager

public final class TextManager extends Object
  • Field Details

  • Constructor Details

    • TextManager

      public TextManager()
  • Method Details

    • DrawString

      public void DrawString(double x, double y, String str)
    • DrawString

      public void DrawString(double x, double y, String str, double r, double g, double b, double a)
    • DrawString

      public void DrawString(UIFont font, double x, double y, double zoom, String str, double r, double g, double b, double a)
    • DrawString

      public void DrawString(UIFont font, double x, double y, String str, double r, double g, double b, double a)
    • DrawStringUntrimmed

      public void DrawStringUntrimmed(UIFont font, double x, double y, String str, double r, double g, double b, double a)
    • DrawStringCentre

      public void DrawStringCentre(double x, double y, String str, double r, double g, double b, double a)
    • DrawStringCentre

      public void DrawStringCentre(UIFont font, double x, double y, String str, double r, double g, double b, double a)
    • DrawStringCentreDefered

      public void DrawStringCentreDefered(UIFont font, double x, double y, String str, double r, double g, double b, double a)
    • DrawTextFromGameWorld

      public void DrawTextFromGameWorld()
    • DrawStringRight

      public void DrawStringRight(double x, double y, String str, double r, double g, double b, double a)
    • GetDrawTextObject

      public TextDrawObject GetDrawTextObject(String str, int maxLineWidth, boolean restrictImages)
    • DrawTextObject

      public void DrawTextObject(double x, double y, TextDrawObject td)
    • DrawStringBBcode

      public void DrawStringBBcode(UIFont font, double x, double y, String str, double r, double g, double b, double a)
    • getNormalFromFontSize

      public AngelCodeFont getNormalFromFontSize(int points)
    • getFontFromEnum

      public AngelCodeFont getFontFromEnum(UIFont font)
    • getFontHeight

      public int getFontHeight(UIFont fontID)
    • DrawStringRight

      public void DrawStringRight(UIFont font, double x, double y, String str, double r, double g, double b, double a)
    • Init

      public void Init() throws FileNotFoundException
      Throws:
      FileNotFoundException
    • MeasureStringX

      public int MeasureStringX(UIFont font, String str)
    • MeasureStringY

      public int MeasureStringY(UIFont font, String str)
    • MeasureFont

      public int MeasureFont(UIFont font)