Skip to main content
Version: Next

Interface: TextWatermarkLineOptions

Properties​

color​

color: string

Watermark color.

Default Value​

'rgba(0, 0, 0, 0.5)'


text​

text: string

Text of the watermark. Word wrapping is not supported.

Default Value​

''


fontSize​

fontSize: number

Font size in pixels.

Default Value​

48


lineHeight?​

optional lineHeight: number

Line height in pixels.

Default Value​

1.2 * fontSize


fontFamily​

fontFamily: string

Font family.

Default Value​

-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif


fontStyle​

fontStyle: string

Font style.

Default Value​

''