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

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