Interface IWatermarkConfig
A configuration of watermarks.
Package: @aurigma/design-editor-iframe
Remarks
For more details, see the Watermarks topic.
Examples
configuration = {
watermark: {
text: {
text: "watermark",
fontSettings: {
postScriptName: "LucidaSans-Italic",
size: 14,
fauxBold: false,
fauxItalic: false
},
scale: 0.28,
opacity: 0.5
},
image: {
name: "watermark.png",
repeat: true,
opacity: 0.1
},
visibility: {
proof: true,
canvas: true
}
}
};
Properties
image
Configures the image of the watermark.
Declaration
image?: IWatermarkImageConfig;
Property Value
| Type | Description |
|---|---|
| IWatermarkImageConfig | Configures the image of the watermark. |
text
Configures the text of the watermark.
Declaration
text?: IWatermarkTextConfig;
Property Value
| Type | Description |
|---|---|
| IWatermarkTextConfig | Configures the text of the watermark. |
visibility
Configures visibility of the watermark.
Declaration
visibility?: IWatermarkVisibilityConfig;
Property Value
| Type | Description |
|---|---|
| IWatermarkVisibilityConfig | Configures visibility of the watermark. |