Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface CanvasRect
import { type CanvasRect } from "https://deno.land/x/canvaseno@v1.0.2/types.ts";

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