Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias InputFlattenedPointArray
import { type InputFlattenedPointArray } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";

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

definition: MallocObj | FlattenedPointArray | number[]