Pages
ImageData
Functions
Returns a newly instantiated ImageData having the specified width and height. Defaults to transparent black.
Returns a Uint8ClampedArray that contains the ImageData object's pixel data.
Data is stored as a one-dimensional array in the RGBA order, with integer values between 0 and 255 (inclusive).
Creates ImageData from a Uint8ClampedArray
containing the underlying pixel representation of the image.
returns the height
of the ImageData
Set a single value in the underlying data
array
returns the width
of the ImageData