Class TextLabel


public class TextLabel extends GuiNode<TextLabel>
  • Constructor Details

  • Method Details

    • render

      protected void render(GuiRender render, long delta)
      Specified by:
      render in class GuiNode<TextLabel>
    • setHorizontalAlignment

      public TextLabel setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
    • setVerticalAlignment

      public TextLabel setVerticalAlignment(VerticalAlignment verticalAlignment)
    • setDrawBackground

      public TextLabel setDrawBackground(boolean drawBackground)
    • setFontSize

      public TextLabel setFontSize(int fontSize)
    • setText

      public TextLabel setText(String text)
    • setFont

      public TextLabel setFont(Font font)
    • setTextColor

      public TextLabel setTextColor(RGBA textColor)
    • setItalicDegrees

      public TextLabel setItalicDegrees(double italicDegrees)
    • setBoldStrength

      public TextLabel setBoldStrength(int boldStrength)
    • operationPosition

      public void operationPosition(ParentNode<?> parentFrame, int parentRealPositionX, int parentRealPositionY)
      Overrides:
      operationPosition in class GuiNode<TextLabel>
    • getHorizontalAlignment

      public HorizontalAlignment getHorizontalAlignment()
    • getVerticalAlignment

      public VerticalAlignment getVerticalAlignment()
    • isDrawBackground

      public boolean isDrawBackground()
    • getFontSize

      public int getFontSize()
    • getText

      public String getText()
    • getFont

      public Font getFont()
    • getTextColor

      public RGBA getTextColor()
    • getItalicDegrees

      public double getItalicDegrees()
    • getBoldStrength

      public int getBoldStrength()