Module

x/canvas/mod.ts

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
type alias InputFlattenedPointArray
import { type InputFlattenedPointArray } from "https://deno.land/x/canvas@v1.0.0/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[]