Skip to main content
Module

x/canvas/canvaskit.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.2.2/canvaskit.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[]