Skip to main content
Module

x/canvas/mod.ts>Vertices

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Latest
interface Vertices
implements EmbindObject<Vertices>
import { type Vertices } from "https://deno.land/x/canvas@v1.4.1/mod.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.