PiDraw API
    Preparing search index...

    Type Alias PathCommand

    PathCommand:
        | { p: XY; type: "M" }
        | { p: XY; type: "L" }
        | { c1: XY; c2: XY; p: XY; type: "C" }
        | { type: "Z" }

    A piece of a path: where it moves to (M), a line (L), a cubic curve (C), or the line back to the start of the piece (Z).