@mocanvas/mocanvas · interface
interface BasePathBuilderOptsWhat every rendering of a path needs, whatever its style.
Properties · 4
forceSolid?: booleanIgnore the style and draw one solid stroke — what a tiny shape or a print export wants.
onlyFilled?: booleanEmit only the runs that asked for a fill, dropping stroke-only runs.
props?: SVGProps<SVGPathElement & SVGGElement>Extra attributes for the element PathBuilder.toSvg returns.
strokeWidth: numberStroke width, in the path's own units. Dash lengths and draw jitter scale off it.
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.