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

x/canvas/mod.ts>SkContourMeasureIter

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

Methods

next(): SkContourMeasure | null

Iterates through contours in path, returning a contour-measure object for each contour in the path. Returns null when it is done.

See SkContourMeasure.h for more details.