@mocanvas/mocanvas · interface
interface PathBuilderCommandOptsPer-command settings shared by every command that draws a line.
Properties · 3
mergeWithPrevious?: booleanWhen converting to a dash- or dot-style line, whether this segment is merged with the previous one when the dash pattern is measured. Merging keeps a dash running across a corner instead of restarting at it.
offset?: numberWhen converting to a draw-style line, how far this point may wander from where it was placed.
roundness?: numberWhen converting to a draw-style line, how much to round the end of this line.
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.