Class TextRenderer

java.lang.Object
org.collebol.gui.graphics.renderer.TextRenderer
All Implemented Interfaces:
Renderer

public class TextRenderer extends Object implements Renderer
This class contains all the methods to render text on a Panel.
  • Field Details

    • ALIGN_CENTER

      public static int ALIGN_CENTER
    • ALIGN_TOP_LEFT

      public static int ALIGN_TOP_LEFT
    • ALIGN_TOP_RIGHT

      public static int ALIGN_TOP_RIGHT
    • ALIGN_BOTTOM_LEFT

      public static int ALIGN_BOTTOM_LEFT
    • ALIGN_BOTTOM_RIGHT

      public static int ALIGN_BOTTOM_RIGHT
  • Constructor Details

  • Method Details

    • setup

      public void setup()
    • render

      public void render(TextRenderer.TextBuilder textBuilder)
      Render text on the Panel with origin-point
      Parameters:
      textBuilder -
    • cleanup

      public void cleanup()
    • getName

      public String getName()
    • getFontPath

      public String getFontPath()