@mocanvas/mocanvas · class

LineTool

declare class LineTool extends StateNode

Drag for a straight line, or click repeatedly for a multi-segment one.


Properties · 3

static children: () => StateNodeConstructor[]
static id: string
static initial: string

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.