Class TextNode.AbstractTextRenderDescription<R extends TextNode<T>.AbstractTextRenderDescription<R>>

java.lang.Object
top.untold.frostlumen.core.gui.node.TextNode.AbstractTextRenderDescription<R>
Direct Known Subclasses:
TextNode.CanWrappedTextRenderDescription, TextNode.TextRenderDescription
Enclosing class:
TextNode<T extends TextNode<T>>

public abstract class TextNode.AbstractTextRenderDescription<R extends TextNode<T>.AbstractTextRenderDescription<R>> extends Object
  • Field Details

    • self

      protected final R extends TextNode<T>.AbstractTextRenderDescription<R> self
    • textRenderPositionX

      protected int textRenderPositionX
    • textRenderPositionY

      protected int textRenderPositionY
    • font

      protected Font font
    • fontSize

      protected int fontSize
    • text

      protected String text
    • italicDegrees

      protected double italicDegrees
    • boldStrength

      protected int boldStrength
    • horizontalAlignment

      protected HorizontalAlignment horizontalAlignment
    • verticalAlignment

      protected VerticalAlignment verticalAlignment
    • color

      protected RGBA color
  • Constructor Details

    • AbstractTextRenderDescription

      protected AbstractTextRenderDescription()
  • Method Details

    • render

      public void render(GuiRender render)
    • init

      protected void init(GuiRender render)
    • getNode

      public T getNode()
    • setHorizontalAlignment

      public R setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
    • setVerticalAlignment

      public R setVerticalAlignment(VerticalAlignment verticalAlignment)
    • setFontSize

      public R setFontSize(int fontSize)
    • setText

      public R setText(String text)
    • setFont

      public R setFont(Font font)
    • setColor

      public R setColor(RGBA color)
    • setItalicDegrees

      public R setItalicDegrees(double italicDegrees)
    • setBoldStrength

      public R setBoldStrength(int boldStrength)
    • operationTextRenderPosition

      protected void operationTextRenderPosition()
    • operationAlignment

      protected void operationAlignment(int textWidth, int textHeight)
    • getHorizontalAlignment

      public HorizontalAlignment getHorizontalAlignment()
    • getVerticalAlignment

      public VerticalAlignment getVerticalAlignment()
    • getFontSize

      public int getFontSize()
    • getText

      public String getText()
    • getFont

      public Font getFont()
    • getColor

      public RGBA getColor()
    • getItalicDegrees

      public double getItalicDegrees()
    • getBoldStrength

      public int getBoldStrength()