@mocanvas/mocanvas · function

pathWordsToSvgD

declare function pathWordsToSvgD(words: readonly number[]): string

Convert the engine's flat path encoding to an SVG d attribute (for indicators).

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.