Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvaseno/mod.ts>PathCommand

Canvas API for deno
Latest
type alias PathCommand
import { type PathCommand } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";

PathCommand contains a verb and then any arguments needed to fulfill that path verb. Examples: [CanvasKit.MOVE_VERB, 0, 10] [CanvasKit.LINE_VERB, 30, 40] TODO(kjlubick) Make this not be a 2-d array and support typed arrays.

definition: number[]