Interface IWatermarkTextConfig
A configuration of watermark text.
Package: @aurigma/design-editor-iframe
Remarks
IWatermarkConfig uses this interface.
Examples
configuration = {
watermark: {
text: {
text: "watermark",
fontSettings: {
postScriptName: "LucidaSans-Italic",
size: 14,
fauxBold: false,
fauxItalic: false
},
scale: 0.28,
opacity: 0.5
},
visibility: {
proof: true,
canvas: true
}
}
};
Properties
fontSettings
The font settings of watermark text.
Declaration
fontSettings?: IFontSettings;
Property Value
| Type | Description |
|---|---|
| IFontSettings | The font settings of watermark text. |
opacity
The opacity of watermark text. The default value is 0.1.
Declaration
opacity?: number;
Property Value
| Type | Description |
|---|---|
| number | The opacity of watermark text. The default value is |
scale
The scale of watermark text. The default value is 0.28.
Declaration
scale?: number;
Property Value
| Type | Description |
|---|---|
| number | The scale of watermark text. The default value is |
text
The text of the watermark.
Declaration
text?: string;
Property Value
| Type | Description |
|---|---|
| string | The text of the watermark. |