Methods
clear
- clear(): void
Returns void
connectedPath
- connectedPath(path): void
Returns void
height
- height(): number
Returns number
onClick
- onClick(cb): void
Parameters
- cb: ((state) => void)
- (state): void
Returns void
Returns void
onMouseMove
- onMouseMove(cb): void
Parameters
- cb: ((state) => void)
- (state): void
Returns void
Returns void
onResize
- onResize(cb): void
Returns void
renderShape
- renderShape(shape): Promise<void>
Returns Promise<void>
text
- text(text): Promise<void>
Returns Promise<void>
width
- width(): number
Returns number