@mocanvas/mocanvas · interface

LineShapeUtilDisplayValues

interface LineShapeUtilDisplayValues extends TLDefaultDisplayValues

What a line paints with. A line is a stroke and nothing else, so the one thing it adds is its own scale applied to the style's width.


Properties · 1

scaledStrokeWidth: number

strokeWidth with the shape's own scale applied.

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.