GhostLayer

Type class

Sources

This information about GhostLayer is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

GhostLayer does not extend any other symbol.

GhostLayer is not extended by any other symbol.

Settings

GhostLayer does not have any settings.

Private settings

GhostLayer does not have any private settings.

Properties

context
#

Type CanvasRenderingContext2D

imageArray
#

Type Uint8ClampedArray

view
#

Type HTMLCanvasElement

Methods

clear()

#

Returns void

constructor()

#

Returns GhostLayer

getImageArray(

point: IPoint

)

#

Returns Array

getImageData(

point: IPoint,
bbox: DOMRect

)

#

Returns ImageData

resize(

canvasWidth: number,
canvasHeight: number,
domWidth: number,
domHeight: number,
resolution: number

)

#

Returns void

setMargin(

layers: Array

)

#

Returns void

Events

GhostLayer does not have any events.