Skip to main content
Module

x/canvas/mod.ts>InputColor

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

CanvasKit APIs accept normal arrays, typed arrays, or Malloc'd memory as colors. Length 4.

definition: MallocObj | SkColor | number[]