Module

x/canvas/types.ts>CanvasRect

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface CanvasRect
import { type CanvasRect } from "https://deno.land/x/canvas@v1.0.0/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