Optional
positiontext position options
positionOptions: {
X: 10,
Y: 10,
// or
// position: Position.center
}
Optional
positionsince 1.2.4 use position instead
text position options
positionOptions: {
X: 10,
Y: 10,
// or
// position: Position.center
}
Optional
styletext style
style: {
color: '#aacc22',
fontName: 'Arial',
fontSize: 12,
shadowStyle: {
dx: 10,
dy: 10,
radius: 10,
color: '#aacc22'
},
textBackgroundStyle: {
paddingX: 10,
paddingY: 10,
type: TextBackgroundType.stretchX,
color: '#aacc22'
},
underline: true,
strikeThrough: true,
textAlign: 'left',
italic: true,
// or
// skewX: 45,
bold: true,
rotate: 45
}
text content
text: 'hello world'
Generated using TypeDoc
Description
Text options for text watermark
Example