@qrcommunication/gigapdf-lib — SDK API reference - v0.110.3
    Preparing search index...

    Interface PathSegment

    One path segment from GigaPdfDoc.vectorPaths (page user space, origin bottom-left). op is "M" (move, 2 pts), "L" (line, 2 pts), "C" (cubic Bézier, 6 pts: cp1 cp2 end) or "Z" (close, 0 pts). pts is the flat coordinate list.

    interface PathSegment {
        op: "M" | "L" | "C" | "Z";
        pts: number[];
    }
    Index

    Properties

    Properties

    op: "M" | "L" | "C" | "Z"
    pts: number[]