WatermarkLiteral
Used to configure text watermark.
export class WatermarkLiteral {
fontSize?: number;
strokeWidth?: number;
wmLiteral?: string;
fontFilePath?: string;
}
- Since
- Available since v4.6.2.
Note: (Linux only)
Properties
- fontSize
- Font size of the text. Default is 10.
- strokeWidth
- Stroke width of the text. Default is 1.
- wmLiteral
- Text content of the watermark. Default is
NULL.Note: If used asynchronously, copy the string to memory that will not be released. - fontFilePath
- Path to the font file. Default is
NULL. The font file should be in .ttf format. If not set, the SDK uses the system default font (if available).Note: If used asynchronously, copy the string to memory that will not be released.