Intermact API Reference / @intermact/core / StrokeRevealSpec
Interface: StrokeRevealSpec
Defined in: packages/core/src/animation/spec.ts:43
Stroke reveal description for Create / write().
Properties
direction?
readonlyoptionaldirection?:"ltr"|"rtl"|"simultaneous"
Defined in: packages/core/src/animation/spec.ts:46
Glyph writing order: left-to-right, right-to-left, or all at once.
glyphOverlap?
readonlyoptionalglyphOverlap?:number
Defined in: packages/core/src/animation/spec.ts:51
Fraction of each glyph stroke that may overlap with the next (0 = strict left-to-right; 0.3 = next glyph starts when the previous is 70% done).
mode?
readonlyoptionalmode?:StrokeRevealMode
Defined in: packages/core/src/animation/spec.ts:44