Skip to content

Interface: ICanvasManager

Hierarchy

Implemented by

Table of contents

Methods

Methods

add

add(canvas): void

Parameters

NameType
canvasILeaferCanvas

Returns

void

Defined in

leafer/packages/interface/src/canvas/ICanvasManager.ts:4


get

get(size): ILeaferCanvas

Parameters

NameType
sizeIScreenSizeData

Returns

ILeaferCanvas

Defined in

leafer/packages/interface/src/canvas/ICanvasManager.ts:5


recycle

recycle(old): void

Parameters

NameType
oldILeaferCanvas

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

Defined in

leafer/packages/interface/src/canvas/ICanvasManager.ts:9

Released under the MIT License.