MotionScript

@motion-script/core


@motion-script/core / TextSelectionProps

Interface: TextSelectionProps

Defined in: nodes/text/text-selection.ts:23

Properties a TextSelection can animate. Transform/opacity/font fields are numeric; fill/stroke accept any author-facing paint and are resolved before tweening (mirroring how Text resolves its own paint).

Properties

fill

fill: Fill

Defined in: nodes/text/text-selection.ts:31


fontWeight

fontWeight: number

Defined in: nodes/text/text-selection.ts:29


letterSpacing

letterSpacing: number

Defined in: nodes/text/text-selection.ts:30


opacity

opacity: number

Defined in: nodes/text/text-selection.ts:24


rotation

rotation: number

Defined in: nodes/text/text-selection.ts:28


scale

scale: number

Defined in: nodes/text/text-selection.ts:27


stroke

stroke: Stroke

Defined in: nodes/text/text-selection.ts:32


x

x: number

Defined in: nodes/text/text-selection.ts:25


y

y: number

Defined in: nodes/text/text-selection.ts:26