Classes
ImageData
Implements
Constructors
new ImageData()
new ImageData(sw
, sh
, settings
?): ImageData
Parameters
Parameter | Type |
---|---|
sw | number |
sh | number |
settings ? | ImageDataSettings |
Returns
new ImageData()
new ImageData(data
, sw
, sh
?, settings
?): ImageData
Parameters
Parameter | Type |
---|---|
data | Uint8ClampedArray |
sw | number |
sh ? | number |
settings ? | ImageDataSettings |
Returns
Properties
Property | Modifier | Type |
---|---|---|
colorSpace | readonly | PredefinedColorSpace |
data | readonly | Uint8ClampedArray |
height | readonly | number |
width | readonly | number |