Back to Website
Show / Hide Table of Contents

Interface IWatermarkImageConfig

A configuration of watermark image.

Package: @aurigma/design-editor-iframe
Remarks

IWatermarkConfig uses this interface.

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

Properties

name

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

Declaration
name?: string;
Property Value
Type Description
string

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

opacity

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

Declaration
opacity?: number;
Property Value
Type Description
number

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

repeat

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.

Declaration
repeat?: boolean;
Property Value
Type Description
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.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback