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

x/canvas/mod.ts>SkRect

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

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

definition: Float32Array