SelectionState
Extends:
src/states/base-state~BaseState → SelectionState
A state to select shapes.
Constructor Summary
Public Constructor | ||
public |
constructor(timeline: *) |
Member Summary
Public Members | ||
public |
currentLayer: * |
|
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
enter() |
|
public |
exit() |
|
public |
handleEvent(e: *) |
|
public |
onClick(e: *) |
|
public |
onKey(e: *) |
|
public |
onMouseDown(e: *) |
|
public |
onMouseMove(e: *) |
|
public |
onMouseUp(e: *) |
Public Constructors
public constructor(timeline: *) source
Params:
Name | Type | Attribute | Description |
timeline | * |
Public Methods
public enter() source
public exit() source
public handleEvent(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onClick(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onKey(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseDown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseMove(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseUp(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |