Skip to content

API reference / Common / WatermarkText

Interface: WatermarkText ​

One line of text. Its box is as wide as the text advances and as tall as its fonts' ascent and descent.

Properties ​

PropertyDescription
fontFamily
string
The typeface family. A family the host's fonts don't offer, or characters it doesn't cover, draw in the fallback fonts.
bold
boolean
-
italic
boolean
-
size
number
The font size, in points.
color
DeviceColor
-
text
string
The text. It does not wrap or break: a line feed starts no new line. Each script in it reads its own way, and a line mixing right-to-left with left-to-right text runs its stretches in the order written.