Drawer
Direct Subclass:
Indirect Subclass:
Static Method Summary
Static Public Methods | ||
public static |
drawObject(object: *) |
|
public static |
getKonvaGroup(draggable: *): * |
|
public static |
setMaxIndex(object: *) |
|
public static |
|
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
elementClass: * |
|
public |
konvaObject: * |
|
public |
state: * |
|
public |
states: *[] |
Method Summary
Public Methods | ||
public |
addAction(action: *) |
|
public |
addAggregator(aggregator: *) |
|
public |
|
|
public |
clear() |
|
public |
|
|
public |
draw(object: *) |
|
public |
|
|
public |
reset() |
|
public |
setElementClass(elementClass: *) |
|
public |
setKonvaObject(konvaObject: *) |
|
public |
setState(state: *) |
|
public |
setStatus(status: *) |
|
public |
update(aggregator: *, event: *) |
Static Public Methods
public static drawObject(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public static getKonvaGroup(draggable: *): * source
Params:
Name | Type | Attribute | Description |
draggable | * |
Return:
* |
public static setMaxIndex(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public static stageBatchDraw() source
Public Constructors
public constructor() source
Public Members
public drawerManager: * source
public elementClass: * source
public konvaObject: * source
public state: * source
public states: *[] source
Public Methods
public addAction(action: *) source
Params:
Name | Type | Attribute | Description |
action | * |
public addAggregator(aggregator: *) source
Params:
Name | Type | Attribute | Description |
aggregator | * |
public batchDraw() source
public clear() source
public clearState() source
public draw(object: *) source
Params:
Name | Type | Attribute | Description |
object | * |
public onDragMove() source
public reset() source
public setElementClass(elementClass: *) source
Params:
Name | Type | Attribute | Description |
elementClass | * |
public setKonvaObject(konvaObject: *) source
Params:
Name | Type | Attribute | Description |
konvaObject | * |
public setState(state: *) source
Params:
Name | Type | Attribute | Description |
state | * |
public setStatus(status: *) source
Params:
Name | Type | Attribute | Description |
status | * |
public update(aggregator: *, event: *) source
Params:
Name | Type | Attribute | Description |
aggregator | * | ||
event | * |