Back to API Reference
Class

BaseLineModifier

abstract

Base class for modifiers that render horizontal lines across text (underline, strikethrough).

Remarks

Subclasses define the vertical offset of the line relative to the baseline. Lines break across wrapped text lines automatically. Decoration quads run through the standard onGlyph pipeline with isVirtualGlyph set, so per-glyph modifiers (color, gradient, outline, shadow) apply uniformly to face glyphs and decoration lines.
protected string AttributeKey{ get }
protected abstract float GetLineOffset()
protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void OnApply()
protected PooledArrayAttribute<byte> flagsAttribute
protected PooledList<LineParams> paramsList

See Also