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

x/canvas/src/canvaskit.ts>Vertices

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface Vertices
implements EmbindObject<Vertices>
import { type Vertices } from "https://deno.land/x/canvas@v1.3.0/src/canvaskit.ts";

See SkVertices.h for more on this class.

Methods

bounds(outputArray?: Rect): Rect

Return the bounding area for the vertices.

uniqueID(): number

Return a unique ID for this vertices object.