@mocanvas/mocanvas · interface
interface DashedPathBuilderOpts extends BasePathBuilderOptsDraw the path as evenly spaced dashes or dots.
Properties · 5
end?: PathDashTerminalTerminal treatment for the last dash of each run.
lengthRatio?: numberDash length as a multiple of the stroke width.
snap?: numberRound the gap so a whole number of dashes fits the run exactly.
start?: PathDashTerminalTerminal treatment for the first dash of each run.
style: "dashed" | "dotted"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.