Class GuiTextStyle
java.lang.Object
com.render.api.gui.GuiTextStyle
Immutable browser-style typography, layout, and paint configuration.
Values use RenderLib design-space CSS pixels. The engine deliberately exposes a typed Java model rather than a CSS parser or cascade.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enum -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic GuiTextStyle.Builderbuilder()booleanclip()ellipsis()booleanfamily()features()floatfontSize()inthashCode()booleankerning()floatfloatlocale()intmaxLines()floatpaint()shadows()slant()floatstretch()stroke()inttabSize()floatfloatweight()withFamily(GuiFontFamily value) withFontSize(float value) withLetterSpacing(float value) withLineHeight(float value) withPaint(GuiTextPaint value) withWeight(float value) float
-
Field Details
-
DEFAULT
-
-
Method Details
-
builder
-
toBuilder
-
family
-
fontSize
public float fontSize() -
weight
public float weight() -
stretch
public float stretch() -
slant
-
obliqueAngleDegrees
public float obliqueAngleDegrees() -
opticalSizing
-
variationAxes
-
sizeAdjust
-
synthesis
-
locale
-
kerning
public boolean kerning() -
features
-
paint
-
stroke
-
shadows
-
decorations
-
direction
-
whiteSpace
-
wordBreak
-
overflowWrap
-
tabSize
public int tabSize() -
letterSpacing
public float letterSpacing() -
wordSpacing
public float wordSpacing() -
lineHeight
public float lineHeight() -
textIndent
public float textIndent() -
textTransform
-
textAlign
-
textAlignLast
-
maxLines
public int maxLines() -
clip
public boolean clip() -
ellipsis
-
antialiasing
-
withFamily
-
withFontSize
-
withWeight
-
withPaint
-
withLetterSpacing
-
withLineHeight
-
equals
-
hashCode
-