Skip to content

@ralphschuler.webgl shader factory.<internal>.ImageData

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: ImageData

@ralphschuler/webgl-shader-factory.<internal>.ImageData

The underlying pixel data of an area of a element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData().

MDN Reference

Table of contents

Properties

Properties

colorSpace

Readonly colorSpace: PredefinedColorSpace

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14250


data

Readonly data: Uint8ClampedArray

Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14256


height

Readonly height: number

Returns the actual dimensions of the data in the ImageData object, in pixels.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14262


width

Readonly width: number

Returns the actual dimensions of the data in the ImageData object, in pixels.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14268

Typescript Libraries

Modules

Namespaces

Clone this wiki locally