Table of contents

Public class

Signature
class DrawShapeTool extends StateNode {}
References

StateNode

Source

packages/tldraw/src/lib/shapes/draw/DrawShapeTool.ts


Properties

children

Public static property

Signature
static children: () => (typeof Drawing | typeof Idle)[]

id

Public static property

Signature
static id: string

initial

Public static property

Signature
static initial: string

onExit

Public property

Signature
onExit: () => void

shapeType

Public property

Signature
shapeType: string

downsizeImageDrawShapeUtil