nx.js
Classes

ImageData

Implements

Constructors

new ImageData()

new ImageData(sw, sh, settings?): ImageData

Parameters

ParameterType
swnumber
shnumber
settings?ImageDataSettings

Returns

ImageData

new ImageData()

new ImageData(data, sw, sh?, settings?): ImageData

Parameters

ParameterType
dataUint8ClampedArray
swnumber
sh?number
settings?ImageDataSettings

Returns

ImageData

Properties

PropertyModifierType
colorSpacereadonlyPredefinedColorSpace
datareadonlyUint8ClampedArray
heightreadonlynumber
widthreadonlynumber

On this page