@mocanvas/mocanvas · function

getDrawOutlinePoints

declare function getDrawOutlinePoints(shape: {
    props?: unknown;
}): VecLike[]

Flatten a draw shape's segments to one outline, smoothing freehand runs.

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.