Skip to main content
Module

x/canvas/types.ts>PosTan

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

A PosTan is an array of 4 values, representing a position and a tangent vector. In order, the values are [px, py, tx, ty].

definition: number[]