Docsv2.12.12
Back to API Reference
Class

RangeCollectingModifier

abstract
Inherits:BaseModifier

Base for modifiers that collect codepoint ranges during apply and act on them in the Shaped phase — the channel through which a modifier influences wrapping. Subclasses implement ApplyRange.

Derived Types(2)

Types that inherit from RangeCollectingModifier.

protected bool AllowEmptyRange{ get }

Whether a zero-length range (a pure boundary with nothing to keep or collapse) is recorded.

protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void OnApply()
protected abstract void ApplyRange()

Acts on one collected range in the Shaped phase — emit it to a line-breaker buffer, or edit its break opportunities.