Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>ImageData

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface ImageData
import { type ImageData } from "https://deno.land/x/windmill@v1.298.0/node_modules/evt/lib/types/lib.dom.d.ts";

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().

Properties

readonly
data: Uint8ClampedArray

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

readonly
height: number

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

readonly
width: number

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