Documentation
    Preparing search index...

    Interface StrokeMesh

    An expanded stroke: vertices in the XY plane and the triangles over them.

    The same division of labour triangulatePolygon draws — this function has to place its own vertices, because a stroke's vertices do not exist until it is expanded — with the same guarantee about the triangles: every one is counter-clockwise seen from +Z (§7a).

    interface StrokeMesh {
        indices: GeometryIndexArray;
        positions: readonly Point2D[];
    }
    Index

    Three indices into StrokeMesh.positions per triangle.

    positions: readonly Point2D[]

    The band's vertices.