MotionScript

@motion-script/core


@motion-script/core / EffectTarget

Type Alias: EffectTarget

EffectTarget = "foreground" | "backdrop"

Defined in: render/render-context.ts:30

Where an effect scope draws: 'foreground' warps/filters the node's own content (its fill, stroke and children), 'backdrop' warps/filters the canvas content already painted beneath the node (clipped to its silhouette). See RenderContext.beginEffectScope.