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

x/canvas/src/canvas.ts>Rect

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Latest
type alias Rect
import { type Rect } from "https://deno.land/x/canvas@v1.4.2/src/canvas.ts";

An Rect is represented by 4 floats. In order, the floats correspond to left, top, right, bottom. See Rect.h for more

definition: Float32Array