Module

x/canvas/mod.ts

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

CanvasKit APIs accept normal arrays, typed arrays, or Malloc'd memory as color matrices. Length 20.

definition: MallocObj | SkColorMatrix | number[]