Class: CanvasManager
Hierarchy
CanvasManager
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new CanvasManager(): CanvasManager
Returns
Properties
list
• list: ILeaferCanvas
[] = []
Defined in
leafer/packages/canvas/canvas/src/CanvasManager.ts:6
Methods
add
▸ add(canvas
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns
void
Implementation of
Defined in
leafer/packages/canvas/canvas/src/CanvasManager.ts:8
get
▸ get(size
): ILeaferCanvas
Parameters
Name | Type |
---|---|
size | IScreenSizeData |
Returns
Implementation of
Defined in
leafer/packages/canvas/canvas/src/CanvasManager.ts:13
recycle
▸ recycle(old
): void
Parameters
Name | Type |
---|---|
old | ILeaferCanvas |
Returns
void
Implementation of
Defined in
leafer/packages/canvas/canvas/src/CanvasManager.ts:30
clearRecycled
▸ clearRecycled(): void
Returns
void
Implementation of
Defined in
leafer/packages/canvas/canvas/src/CanvasManager.ts:34
clear
▸ clear(): void
Returns
void
Implementation of
Defined in
leafer/packages/canvas/canvas/src/CanvasManager.ts:44
destroy
▸ destroy(): void
Returns
void