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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected RGBAprotected Fontprotected intprotected HorizontalAlignmentprotected doubleprotected final Rprotected Stringprotected intprotected intprotected VerticalAlignment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()getFont()intdoublegetNode()getText()protected voidprotected voidoperationAlignment(int textWidth, int textHeight) protected voidvoidsetBoldStrength(int boldStrength) setFontSize(int fontSize) setHorizontalAlignment(HorizontalAlignment horizontalAlignment) setItalicDegrees(double italicDegrees) setVerticalAlignment(VerticalAlignment verticalAlignment)
-
Field Details
-
self
-
textRenderPositionX
protected int textRenderPositionX -
textRenderPositionY
protected int textRenderPositionY -
font
-
fontSize
protected int fontSize -
text
-
italicDegrees
protected double italicDegrees -
boldStrength
protected int boldStrength -
horizontalAlignment
-
verticalAlignment
-
color
-
-
Constructor Details
-
AbstractTextRenderDescription
protected AbstractTextRenderDescription()
-
-
Method Details
-
render
-
init
-
getNode
-
setHorizontalAlignment
-
setVerticalAlignment
-
setFontSize
-
setText
-
setFont
-
setColor
-
setItalicDegrees
-
setBoldStrength
-
operationTextRenderPosition
protected void operationTextRenderPosition() -
operationAlignment
protected void operationAlignment(int textWidth, int textHeight) -
getHorizontalAlignment
-
getVerticalAlignment
-
getFontSize
public int getFontSize() -
getText
-
getFont
-
getColor
-
getItalicDegrees
public double getItalicDegrees() -
getBoldStrength
public int getBoldStrength()
-