Interface: ICanvasManager
Hierarchy
ICanvasManager
Implemented by
Table of contents
Methods
Methods
add
▸ add(canvas
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns
void
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:4
get
▸ get(size
): ILeaferCanvas
Parameters
Name | Type |
---|---|
size | IScreenSizeData |
Returns
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:5
recycle
▸ recycle(old
): void
Parameters
Name | Type |
---|---|
old | ILeaferCanvas |
Returns
void
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:6
clearRecycled
▸ clearRecycled(): void
Returns
void
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:7
clear
▸ clear(): void
Returns
void
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:8
destroy
▸ destroy(): void
Returns
void