Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.2, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.3).

Interface: IWatermarkImageConfig

A configuration of watermark image.

Remarks

IWatermarkConfig uses this interface.

Example

configuration = {
watermark: {
image: {
name: "watermark.png",
repeat: true,
opacity: 0.1,
},
visibility: {
proof: true,
canvas: true,
},
},
};

Properties

name?

optional name?: string

The file name of the watermark image. This file is in the ~/assets/helpers/ folder.


repeat?

optional repeat?: boolean

Enables repeating the watermark image on the canvas and proof images. If false, the image is shown in the center of the canvas. The default value is true.


opacity?

optional opacity?: number

The opacity of the watermark image. The default value is 0.1.

Was this page helpful?