Livewire
Source: livewire.js:15
Livewire painting tool.
Constructor
new Livewire(app: App): LivewireParameters
app(App) — The associated application.
Instance Methods
activate(bool: boolean)
Activate the tool.
Parameters
bool(boolean) — The flag to activate or not.
init()
Initialise the tool.
setFeatures(features: object)
Set the tool live features: shape colour.
Parameters
features(object) — The list of features.
Instance Fields
keydown
Handle key down event.
Parameters
event(object) — The key down event.