Module

x/canvas/mod.ts>PathCommand

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
type alias PathCommand
import { type PathCommand } from "https://deno.land/x/canvas@v1.0.0/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[]