MotionScript

@motion-script/core


@motion-script/core / EdgesOptions

Interface: EdgesOptions

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

Edge detection. Scalar shorthand sets strength.

Extends

Properties

colored?

optional colored?: boolean

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

Detect per RGB channel instead of on luminance (default false).


kernel?

optional kernel?: EdgeKernel

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

Which operator measures the gradient (default 'sobel').


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:211

Multiplier on the detected gradient (default 1).