@mocanvas/mocanvas · class
declare class GeoTool extends StateNodeDraw a geo shape (rectangle, ellipse, ...) by dragging. Pick the kind with editor.setCurrentTool('geo', { geo }).
Methods · 1
onEnter(info: Record<string, unknown>): voidProperties · 4
static children: () => StateNodeConstructor[]geo: GeoShapeKindstatic id: stringstatic initial: stringmocanvas 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.