MotionScript

@motion-script/core


@motion-script/core / SelectionOverrides

Interface: SelectionOverrides

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

Live, resolved override state for a selection, read by the Text node each frame to build per-piece segments. fill/stroke are null until set, meaning "inherit the node's paint".

Properties

fill

fill: FillResolved[] | null

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


fontWeight

fontWeight: number

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


letterSpacing

letterSpacing: number

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


opacity

opacity: number

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


rotation

rotation: number

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


scale

scale: number

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


stroke

stroke: StrokeResolved[] | null

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


x

x: number

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


y

y: number

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