@motion-script/core / CurvesEffect
Interface: CurvesEffect
Defined in: attributes/shape/effects/implementations/curves.ts:15
Tone curve as a scene effect — the same adjustment ImageFilters.curves
applies to a photo, now available on any node, so a group of shapes or a text
block can be graded the same way.
Shares its type name, fields and renderer handler with CurvesFilter
(the media-fill filter); the only difference is the mode flag every scene
effect carries. Keeping them one implementation is deliberate — a curve should
not mean two different things depending on what it is attached to.
Extends
Properties
channel?
optionalchannel?:CurvesChannel
Defined in: attributes/shape/effects/implementations/curves.ts:20
Channel(s) the curve applies to (default 'rgb').
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
points
points: [
number,number][]
Defined in: attributes/shape/effects/implementations/curves.ts:18
Curve control points as [input, output] pairs in 0–1.
type
type:
"curves"
Defined in: attributes/shape/effects/implementations/curves.ts:16