WatermarkOptions: {
    opacity: number;
    scale?: number;
} & ({
    position?: REPLICATE;
} | {
    offset?: {
        x: number;
        y: number;
    };
    position?: Exclude<WatermarkPosition, REPLICATE>;
})

The watermark options

Type declaration

  • opacity: number

    The opacity. The final opacity is calculated like base_opacity * opacity

  • Optional scale?: number

    The scale factor of the watermark

Generated using TypeDoc