Class GuiRichText

java.lang.Object
com.render.api.gui.GuiRichText

public final class GuiRichText extends Object
Logical UTF-16 text with immutable, non-overlapping typed style spans.

Paint-only span changes preserve native shaping when font, OpenType, spacing, and raster inputs agree. A shared ligature keeps its glyph and advance; fills, strokes, shadows, and decorations follow its grapheme paint intervals. The intervals use native ligature carets when available and evenly divided advances otherwise. A span boundary inside one grapheme uses the style at that grapheme's start.