TextWatermarkLayer
此内容尚不支持你的语言。
Defined in: index.ts:889
Text options for text watermark
Example
Section titled “Example”text: 'hello world', position: { X: 10, Y: 10, // or // position: Position.center }, 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, skewX: -0.25, strikeThrough: true, textAlign: 'left', italic: true, bold: true, rotate: 45 }Extends
Section titled “Extends”Properties
Section titled “Properties”position?
Section titled “position?”
optionalposition?:PositionOptions
Defined in: index.ts:505
text position options
Example
Section titled “Example”position: { X: 10, Y: 10, // or // position: Position.center}Inherited from
Section titled “Inherited from”positionOptions?
Section titled “positionOptions?”
optionalpositionOptions?:PositionOptions
Defined in: index.ts:493
Example
Section titled “Example”positionOptions: { X: 10, Y: 10, // or // position: Position.center}Inherited from
Section titled “Inherited from”style?
Section titled “style?”
optionalstyle?:TextStyle
Defined in: index.ts:536
text style
Example
Section titled “Example”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: -0.25, bold: true, rotate: 45}Inherited from
Section titled “Inherited from”text:
string
Defined in: index.ts:481
text content
Example
Section titled “Example”text: 'hello world'Inherited from
Section titled “Inherited from”type:
"text"
Defined in: index.ts:890