pdfrx_web
    Preparing search index...

    Interface PdfPathContent

    A filled and/or stroked vector path in PDF page coordinates.

    At least one of fill and stroke should be non-null. Path coordinates are transformed by transform after the path is built.

    interface PdfPathContent {
        fill?: PdfAnnotationColor | null;
        fillRule?: "nonzero" | "evenodd";
        kind: "path";
        lineCap?: "square" | "butt" | "round";
        lineJoin?: "round" | "miter" | "bevel";
        opacity?: number;
        segments: PdfPathSegment[];
        stroke?: PdfAnnotationColor | null;
        strokeWidth?: number;
        transform?: PdfMatrix;
    }
    Index
    fill?: PdfAnnotationColor | null

    Fill color. Omit or use null for no fill.

    fillRule?: "nonzero" | "evenodd"

    Interior winding rule. Default 'nonzero'.

    kind: "path"

    Discriminant for a vector-path object.

    lineCap?: "square" | "butt" | "round"

    Stroke end-cap style. Default 'butt'.

    lineJoin?: "round" | "miter" | "bevel"

    Stroke corner-join style. Default 'miter'.

    opacity?: number

    Additional opacity multiplied into fill and stroke alpha. Range 0 through 1; default 1.

    segments: PdfPathSegment[]

    Ordered path commands. An empty array is rejected.

    stroke?: PdfAnnotationColor | null

    Stroke color. Omit or use null for no stroke.

    strokeWidth?: number

    Stroke width in page points. Default 1.

    transform?: PdfMatrix

    Optional PDF affine transform applied to the complete path.