@motion-script/core / InvertEffect
Interface: InvertEffect
Defined in: attributes/shape/effects/implementations/invert.ts:22
Mixin: every effect declares the layer it targets via EffectMode.
Omitted is treated as "foreground". A single uniform field across all effects
means the backdrop/foreground classifier never has to branch on type.
Extends
Properties
channel
channel:
InvertChannel
Defined in: attributes/shape/effects/implementations/invert.ts:25
Which channel(s) / colour component to invert.
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
strength
strength:
number
Defined in: attributes/shape/effects/implementations/invert.ts:27
0–1: blend from original (0) to fully inverted on channel (1).
type
type:
"invert"
Defined in: attributes/shape/effects/implementations/invert.ts:23