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

x/evt/lib/types/index.ts>dom.CanvasDrawImage

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

Methods

drawImage(
dx: number,
dy: number,
): void
drawImage(
dx: number,
dy: number,
dw: number,
dh: number,
): void
drawImage(
sx: number,
sy: number,
sw: number,
sh: number,
dx: number,
dy: number,
dw: number,
dh: number,
): void