Package zombie.ui

Class TextDrawObject

java.lang.Object
zombie.ui.TextDrawObject

public class TextDrawObject
extends java.lang.Object
  • Constructor Details

    • TextDrawObject

      public TextDrawObject()
    • TextDrawObject

      public TextDrawObject​(int r, int g, int b, boolean allowBBcode)
    • TextDrawObject

      public TextDrawObject​(int r, int g, int b, boolean allowBBcode, boolean allowImages, boolean allowChatIcons, boolean allowColors, boolean allowFonts, boolean equalizeLineHeights)
  • Method Details

    • setEnabled

      public void setEnabled​(boolean enabled)
    • getEnabled

      public boolean getEnabled()
    • setVisibleRadius

      public void setVisibleRadius​(int radius)
    • getVisibleRadius

      public int getVisibleRadius()
    • setAllowImages

      public void setAllowImages​(boolean allowImages)
    • setAllowChatIcons

      public void setAllowChatIcons​(boolean allowChatIcons)
    • setAllowColors

      public void setAllowColors​(boolean allowColors)
    • setAllowFonts

      public void setAllowFonts​(boolean allowFonts)
    • setAllowBBcode

      public void setAllowBBcode​(boolean allowBBcode)
    • setAllowAnyImage

      public void setAllowAnyImage​(boolean allowAnyImage)
    • setAllowLineBreaks

      public void setAllowLineBreaks​(boolean allowLineBreaks)
    • setEqualizeLineHeights

      public void setEqualizeLineHeights​(boolean equalizeLineHeights)
    • setSettings

      public void setSettings​(boolean allowBBcode, boolean allowImages, boolean allowChatIcons, boolean allowColors, boolean allowFonts, boolean equalizeLineHeights)
    • setCustomTag

      public void setCustomTag​(java.lang.String tag)
    • getCustomTag

      public java.lang.String getCustomTag()
    • setValidImages

      public void setValidImages​(java.lang.String[] list)
    • setValidFonts

      public void setValidFonts​(java.lang.String[] list)
    • setMaxCharsPerLine

      public void setMaxCharsPerLine​(int charsperline)
    • setCustomImageMaxDimensions

      public void setCustomImageMaxDimensions​(int dim)
    • setOutlineColors

      public void setOutlineColors​(int r, int g, int b)
    • setOutlineColors

      public void setOutlineColors​(int r, int g, int b, int a)
    • setOutlineColors

      public void setOutlineColors​(float r, float g, float b)
    • setOutlineColors

      public void setOutlineColors​(float r, float g, float b, float a)
    • setDefaultColors

      public void setDefaultColors​(int r, int g, int b)
    • setDefaultColors

      public void setDefaultColors​(int r, int g, int b, int a)
    • setDefaultColors

      public void setDefaultColors​(float r, float g, float b)
    • setDefaultColors

      public void setDefaultColors​(float r, float g, float b, float a)
    • setHorizontalAlign

      public void setHorizontalAlign​(java.lang.String horz)
    • setHorizontalAlign

      public void setHorizontalAlign​(TextDrawHorizontal horz)
    • getHorizontalAlign

      public TextDrawHorizontal getHorizontalAlign()
    • getOriginal

      public java.lang.String getOriginal()
    • getUnformatted

      public java.lang.String getUnformatted()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getDefaultFontEnum

      public UIFont getDefaultFontEnum()
    • isNullOrZeroLength

      public boolean isNullOrZeroLength()
    • getInternalClock

      public float getInternalClock()
    • setInternalTickClock

      public void setInternalTickClock​(float ticks)
    • updateInternalTickClock

      public float updateInternalTickClock()
    • updateInternalTickClock

      public float updateInternalTickClock​(float delta)
    • setScrambleVal

      public void setScrambleVal​(float value)
    • getScrambleVal

      public float getScrambleVal()
    • setHearRange

      public void setHearRange​(int range)
    • getHearRange

      public int getHearRange()
    • Clear

      public void Clear()
    • setDefaultFont

      public void setDefaultFont​(UIFont f)
    • ReadString

      public void ReadString​(java.lang.String str)
    • ReadString

      public void ReadString​(java.lang.String str, int maxLineWidth)
    • ReadString

      public void ReadString​(UIFont font, java.lang.String str, int maxLineWidth)
    • calculateDimensions

      public void calculateDimensions()
    • Draw

      public void Draw​(double x, double y)
    • Draw

      public void Draw​(double x, double y, boolean drawOutlines)
    • Draw

      public void Draw​(double x, double y, boolean drawOutlines, float alpha)
    • Draw

      public void Draw​(double x, double y, double r, double g, double b, double a, boolean drawOutlines)
    • Draw

      public void Draw​(TextDrawHorizontal horz, double x, double y, double r, double g, double b, double a, boolean drawOutlines)
    • AddBatchedDraw

      public void AddBatchedDraw​(double x, double y)
    • AddBatchedDraw

      public void AddBatchedDraw​(double x, double y, boolean drawOutlines)
    • AddBatchedDraw

      public void AddBatchedDraw​(double x, double y, boolean drawOutlines, float alpha)
    • AddBatchedDraw

      public void AddBatchedDraw​(double x, double y, double r, double g, double b, double a, boolean drawOutlines)
    • AddBatchedDraw

      public void AddBatchedDraw​(TextDrawHorizontal horz, double x, double y, double r, double g, double b, double a, boolean drawOutlines)
    • RenderBatch

      public static void RenderBatch​(int playerNum)
    • DrawRaw

      public void DrawRaw​(TextDrawHorizontal horz, double x, double y, float r, float g, float b, float a, boolean drawOutlines)