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

x/canvas/types.ts>InputFlattenedRectangleArray

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

CanvasKit APIs accept normal arrays, typed arrays, or Malloc'd memory as flattened rectangles. Length 4 * n for n rectangles.

definition: MallocObj | FlattenedRectangleArray | number[]