@dusrel/image API
    Preparing search index...

    Interface WatermarkOptions

    interface WatermarkOptions {
        color?: string;
        font?: string;
        margin?: number;
        opacity?: number;
        position?: WatermarkPosition;
        scale?: number;
        tileGap?: number;
    }
    Index
    color?: string

    Text marks: CSS colour. Default '#ffffff'.

    font?: string

    Text marks: CSS font string. Default '600 24px sans-serif'.

    margin?: number

    Margin in px from the image edge (positioned modes). Default 16.

    opacity?: number

    Global mark opacity, 0..1. Default 0.7.

    Default 'bottom-right'. 'tile' repeats the mark across the image.

    scale?: number

    Mark width as a fraction of the image width (image marks). Default 0.2. The mark's aspect ratio is preserved.

    tileGap?: number

    Extra gap in px between tiles ('tile' mode). Default: one mark width.