MotionScript

@motion-script/core


@motion-script/core / InvertOptions

Interface: InvertOptions

Defined in: attributes/shape/effects/chain.ts:112

Colour invert. Scalar shorthand sets strength.

Extends

Properties

channel?

optional channel?: InvertChannel

Defined in: attributes/shape/effects/chain.ts:116

Which channel / colour component to invert (default 'rgba').


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

EffectOptions.mode


strength?

optional strength?: number

Defined in: attributes/shape/effects/chain.ts:114

0–1: blend from original (0) to fully inverted (1) (default 1).