StageManager
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
stages: *[] |
Private Members | ||
private |
_files: *[] |
|
private |
_height: * |
|
private |
_stage: * |
|
private |
_width: * |
Method Summary
Public Methods | ||
public |
create(): * |
|
public |
getCurrentKonvaLayer(): * |
|
public |
getCurrentKonvaStage(): * |
|
public |
getCurrentLayer(): * |
|
public |
getCurrentStage(): * |
|
public |
getFiles(): * |
|
public |
getSize(): {"w": *, "h": *} |
Private Methods | ||
private |
|
|
private |
_clearLayers(layer: *) |
|
private |
_createLayer(): * |
|
private |
|
|
private |
_getCurrentLayer(): * |
|
private |
|
|
private |
_getFiles(): * |
|
private |
_getHeigth(): * |
|
private |
_getStage(): * |
|
private |
_getWidth(): * |
|
private |
_makeTemplate(layer: *) |
|
private |
_selectFile(e: *) |
|
private |
_setLayerTitle(layer: *) |
|
private |
_setStage(stage: *) |
Public Constructors
public constructor() source
Public Members
public stages: *[] source
Private Members
private _files: *[] source
private _height: * source
private _stage: * source
private _width: * source
Public Methods
Private Methods
private _bootstrap() source
private _clearLayers(layer: *) source
Params:
Name | Type | Attribute | Description |
layer | * |
private _evenNewDocument() source
private _makeTemplate(layer: *) source
Params:
Name | Type | Attribute | Description |
layer | * |
private _selectFile(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _setLayerTitle(layer: *) source
Params:
Name | Type | Attribute | Description |
layer | * |
private _setStage(stage: *) source
Params:
Name | Type | Attribute | Description |
stage | * |