Search…
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
Export as PDF
Copy link
On this page
Hierarchy
Implements
Index
Constructors
Properties
Methods
Constructors
constructor
Properties
Readonly canvasCreator
debugEnabled
Readonly imageClass
Methods
deregisterView
getId
registerView
resolve