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

    Fields
    Modifier and Type Field Description
    AngelCodeFont.CharDef[] chars  
    static float curA  
    static float curB  
    static Color curCol  
    static float curG  
    static float curR  
    int xoff  
    int yoff  
    float zoom  
  • 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

      public AngelCodeFont.CharDef[] chars
    • zoom

      public float zoom
    • xoff

      public int xoff
    • yoff

      public int yoff
    • curCol

      public static Color 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 interface Font
    • drawString

      public void drawString​(float float1, float float2, java.lang.String string, Color color)
      Specified by:
      drawString in interface Font
    • 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 interface Font
    • 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)
      Specified by:
      getHeight in interface Font
    • getLineHeight

      public int getLineHeight()
      Specified by:
      getLineHeight in interface Font
    • getWidth

      public int getWidth​(java.lang.String string)
      Specified by:
      getWidth in interface Font
    • getWidth

      public int getWidth​(java.lang.String string, boolean boolean1)
    • getYOffset

      public int getYOffset​(java.lang.String string)