Module

x/canvas/types.ts

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

See SkVertices.h for more on this class.

Methods

bounds(outputArray?: SkRect): SkRect

Return the bounding area for the vertices.

uniqueID(): number

Return a unique ID for this vertices object.