Skip to main content
Module

x/canvas/mod.ts>InputPoint

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

CanvasKit APIs accept a Float32Array or a normal array (of length 2) as a Point.

definition: Point | number[]