Class TextLabel

java.lang.Object
ActiverseUtils.TextLabel

public class TextLabel extends Object
TextLabel - A text display component for World UI Allows drawing text without using Graphics2D directly in game code
Version:
1.4.1
Author:
Knivier
  • Constructor Details

    • TextLabel

      public TextLabel(String text, int x, int y)
    • TextLabel

      public TextLabel(String text, int x, int y, Color color)
    • TextLabel

      public TextLabel(String text, int x, int y, Color color, Font font)
  • Method Details

    • render

      public void render(Graphics g)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getY

      public int getY()
    • setY

      public void setY(int y)
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color color)
    • getFont

      public Font getFont()
    • setFont

      public void setFont(Font font)