Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>CanvasImageData

💧EventEmitter's typesafe replacement
Go to Latest
interface CanvasImageData
import { type CanvasImageData } from "https://deno.land/x/evt@v2.5.6/lib/types/lib.dom.ts";

Methods

createImageData(sw: number, sh: number): ImageData
createImageData(imagedata: ImageData): ImageData
getImageData(
sx: number,
sy: number,
sw: number,
sh: number,
): ImageData
putImageData(
imagedata: ImageData,
dx: number,
dy: number,
): void
putImageData(
imagedata: ImageData,
dx: number,
dy: number,
dirtyX: number,
dirtyY: number,
dirtyWidth: number,
dirtyHeight: number,
): void