@mocanvas/editor · type

ShapeWithCrop

type ShapeWithCrop = UnknownShape & {
    props: {
        w: number;
        h: number;
        crop: TLShapeCrop | null;
    };
}

A shape that can be cropped: one whose props carry a crop.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.