weasel API - v0.8.0
    Preparing search index...

    Interface PolygonPath

    Polygon path with arbitrary contours and optional bezier segments. Multi-contour: each M opens a new subpath; Z closes the current one. Open subpaths (no Z) render as polylines and don't contribute to fills.

    interface PolygonPath {
        commands: Uint8Array;
        coords: Float32Array;
        fillRule: PathFillRule;
        kind: "polygon";
    }
    Index

    Properties

    commands: Uint8Array
    coords: Float32Array
    fillRule: PathFillRule
    kind: "polygon"