Search
K
Links
Comment on page

Context

Hierarchy

  • Context

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ new Context(options: ContextOptions): Context
Parameters:
Name
Type
Default
options
{}
Returns: Context

Properties

Readonly canvasCreator

canvasCreator: CanvasCreator

debugEnabled

debugEnabled: boolean = false

Readonly imageClass

imageClass: ImageClass

Methods

deregisterView

deregisterView(id: number): void
Parameters:
Name
Type
id
number
Returns: void

getId

getId(id: string | number | undefined): undefined | string | number
Implementation of ContextLike
Parameters:
Name
Type
id
string | number | undefined
Returns: undefined | string | number

registerView

registerView(idName: string): number
Implementation of ContextLike
Parameters:
Name
Type
idName
string
Returns: number

resolve

resolve(id: string | number | undefined): number | undefined
Implementation of ContextLike
Parameters:
Name
Type
id
string | number | undefined
Returns: number | undefined