MotionScript

@motion-script/core


@motion-script/core / ClipOp

Type Alias: ClipOp

ClipOp = ClipShapeOp | { kind: "cut"; }

Defined in: render/clip.ts:29

A single recorded op in a Clip. Shape ops add geometry to the clip region; cut subtracts the last-declared shape from the ones before it. The renderer replays this list into a single clip path via RenderContext.beginClip().