import { type InputFlattenedRectangleArray } from "https://deno.land/x/canvas@v1.3.0/src/canvas.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[]