mcut
@mcut/timeline

cropSchema

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / timeline/src / cropSchema

Variable: cropSchema

const cropSchema: ZodObject<{
  h: ZodNumber;
  w: ZodNumber;
  x: ZodNumber;
  y: ZodNumber;
}, $strip>;

Defined in: packages/timeline/src/style.ts:39

Source-space crop mask, normalized 0..1 of the media's natural size. The kept region BECOMES the element's frame: natural size shrinks to w × h of the asset, so layout, handles, and the inspector all follow.

On this page