MotionScript

@motion-script/core


@motion-script/core / DuotoneOptions

Interface: DuotoneOptions

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

Two-colour luminance ramp. Scalar shorthand sets amount.

Extends

Properties

amount?

optional amount?: number

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

0–1 blend from the original colours to the full ramp (default 1).


highlights?

optional highlights?: Color

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

Colour the brightest tones map to (default 'white').


mode?

optional mode?: EffectMode

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

Inherited from

EffectOptions.mode


shadows?

optional shadows?: Color

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

Colour the darkest tones map to (default 'black').