Module

x/canvas/types.ts

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface CanvasDrawImage
import { type CanvasDrawImage } from "https://deno.land/x/canvas@v1.0.0/types.ts";

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