@mocanvas/mocanvas · interface

PathBuilderToDOpts

interface PathBuilderToDOpts

Which part of a path PathBuilder.toD should write.


Properties · 3

endIdx?: number

Last command index, exclusive. Defaults to the end of the path.

onlyFilled?: boolean

Write only the runs that asked for a fill.

startIdx?: number

First command index. Defaults to 0.

Mentioned here

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.