Interface: WriteOptions
Defined in: animation/creation/Create.ts:473
Extends
Properties
duration?
optionalduration:number
Defined in: animation/Animation.ts:14
Duration of the animation in seconds (default: 1)
Inherited from
lagRatio?
optionallagRatio:number
Defined in: animation/creation/Create.ts:475
Stagger between characters, default 0.05
rateFunc?
optionalrateFunc:RateFunction
Defined in: animation/Animation.ts:16
Rate function controlling the animation's pacing (default: smooth)
Inherited from
remover?
optionalremover:boolean
Defined in: animation/creation/Create.ts:479
Remove after animation, default false
reverse?
optionalreverse:boolean
Defined in: animation/creation/Create.ts:477
Write in reverse (right to left), default false
shift?
optionalshift: [number,number,number]
Defined in: animation/Animation.ts:18
Shift direction for fade animations
Inherited from
strokeRatio?
optionalstrokeRatio:number
Defined in: animation/creation/Create.ts:481
Ratio of animation time spent on stroke drawing vs cross-fade (default 0.7 = 70% stroke, 30% crossfade)
useSkeletonStroke?
optionaluseSkeletonStroke:boolean
Defined in: animation/creation/Create.ts:488
When true, the Write animation uses the glyph's skeleton (medial axis)
for stroke drawing, producing natural center-line pen strokes instead
of perimeter outlines. Requires glyphs to be loaded with
useSkeletonStroke: true. Default: false (uses outline strokes).