ComPDF React Native - v3.0.0
    Preparing search index...

    Interface CPDFLineAttr

    Attribute configuration for straight line annotations.

    interface CPDFLineAttr {
        borderColor?: `#${string}`;
        borderAlpha?: ColorAlpha;
        borderWidth?: BorderWidth;
        borderStyle?: CPDFBorderStyleAttr;
        startLineType?: string;
        tailLineType?: string;
        type: "line";
    }

    Hierarchy

    • CPDFLineBase
      • CPDFLineAttr
    Index

    Properties

    borderColor?: `#${string}`

    Line color in HEX format (e.g. #1460F3).

    borderAlpha?: ColorAlpha

    Line opacity. Valid range: 0–255.

    borderWidth?: BorderWidth

    Line thickness. Valid range: 0–10.

    borderStyle?: CPDFBorderStyleAttr

    Line border style configuration (solid or dashed).

    startLineType?: string

    Arrow style at the starting point of the line.

    tailLineType?: string

    Arrow style at the ending point of the line.

    type: "line"

    Read-only discriminator for runtime type checks.