Skip to content

Interface: IImageManager

Table of contents

Properties

Methods

Properties

map

map: ILeaferImageMap

Defined in

leafer/packages/interface/src/image/IImageManager.ts:10


recycledList

recycledList: ILeaferImage[]

Defined in

leafer/packages/interface/src/image/IImageManager.ts:11


tasker

tasker: ITaskProcessor

Defined in

leafer/packages/interface/src/image/IImageManager.ts:12


patternTasker

patternTasker: ITaskProcessor

Defined in

leafer/packages/interface/src/image/IImageManager.ts:13


patternLocked

Optional patternLocked: boolean

Defined in

leafer/packages/interface/src/image/IImageManager.ts:14


isComplete

Readonly isComplete: boolean

Defined in

leafer/packages/interface/src/image/IImageManager.ts:15

Methods

get

get(config): ILeaferImage

Parameters

NameType
configILeaferImageConfig

Returns

ILeaferImage

Defined in

leafer/packages/interface/src/image/IImageManager.ts:16


recycle

recycle(image): void

Parameters

NameType
imageILeaferImage

Returns

void

Defined in

leafer/packages/interface/src/image/IImageManager.ts:17


clearRecycled

clearRecycled(): void

Returns

void

Defined in

leafer/packages/interface/src/image/IImageManager.ts:18


hasOpacityPixel

hasOpacityPixel(config): boolean

Parameters

NameType
configILeaferImageConfig

Returns

boolean

Defined in

leafer/packages/interface/src/image/IImageManager.ts:19


isFormat

isFormat(format, config): boolean

Parameters

NameType
formatIExportFileType
configILeaferImageConfig

Returns

boolean

Defined in

leafer/packages/interface/src/image/IImageManager.ts:20


destroy

destroy(): void

Returns

void

Defined in

leafer/packages/interface/src/image/IImageManager.ts:21

Released under the MIT License.