Creates a clickable button in "UI" mode of the drawing.
Creates a 4-state button: normal, hover, active, selected. Optionally may include button text or an icon.
| Parameter | Type | Description |
|---|---|---|
| options | undefined |
Stub to connect. Event is 'this' Alternatively can pass in a scope and a callback on creation.
| Parameter | Type | Description |
|---|---|---|
| button | Object |