Stage
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
konvaStage: * |
|
public |
layer: * |
|
public |
layers: *[] |
Method Summary
Public Methods | ||
public |
addAggregator(aggregator: *) |
|
public |
configureStageEvents(stage: *) |
|
public |
createLayer(): * |
|
public |
draw(object: *) |
|
public |
getCurrentKonvaLayer(): * |
|
public |
getCurrentLayer(): * |
|
public |
setCurrentLayer(layer: *) |
|
public |
setKonvaStage(stage: *) |
Private Methods | ||
private |
|
|
private |
_clickTap(e: *) |
|
private |
_mouseDown(e: *) |
|
private |
_setState(state: *) |
Public Constructors
public constructor() source
Public Methods
public addAggregator(aggregator: *) source
Params:
Name | Type | Attribute | Description |
aggregator | * |
public configureStageEvents(stage: *) source
Params:
Name | Type | Attribute | Description |
stage | * |
public draw(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public setCurrentLayer(layer: *) source
Params:
Name | Type | Attribute | Description |
layer | * |
public setKonvaStage(stage: *) source
Params:
Name | Type | Attribute | Description |
stage | * |
Private Methods
private _bootstrap() source
private _clickTap(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _mouseDown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _setState(state: *) source
Params:
Name | Type | Attribute | Description |
state | * |