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

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

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

Methods

clearRect(
x: number,
y: number,
w: number,
h: number,
): void
fillRect(
x: number,
y: number,
w: number,
h: number,
): void
strokeRect(
x: number,
y: number,
w: number,
h: number,
): void