Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.2/mod.ts";

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

definition: Point | number[]