kapom-report - v0.1.2
    Preparing search index...

    Interface TextWatermark

    Declarative preset — just give it a string and get a stamp centered on every page, with no need to write a render callback or know jsPDF at all (same pattern as createAnchoredBand, which did this for PageBand); reach for the full Watermark interface if you need more control.

    interface TextWatermark {
        color?: RGB;
        fontFamily?: string;
        fontSize?: number;
        layout?: WatermarkLayout;
        opacity?: number;
        rotate?: number;
        showOnFirstPage?: boolean;
        text: string;
    }
    Index
    color?: RGB

    default gray [150,150,150]

    fontFamily?: string

    font family — default the report's registered default family (never inherits ambient font state)

    fontSize?: number

    pt — default 60; ignored when layout is 'stretch' (auto-sized)

    how to lay the text out — default 'single'

    opacity?: number

    opacity 0-1 — default 0.15

    rotate?: number

    rotation in degrees, counter-clockwise — default 0 (e.g. 45 for a diagonal stamp)

    showOnFirstPage?: boolean

    draw on the first page too? — default false

    text: string