Skip to content

API reference / Common / WatermarkShape

Interface: WatermarkShape ​

A path, filled, stroked or both. Its box is what it paints, the stroke included, so where the path's coordinates put it makes no difference: only its outline does. In the path's coordinates, y runs down.

Properties ​

PropertyDescription
path
Path
The outline, in points.
fillColor
DeviceColor | null
What fills it, non-zero winding; None fills nothing.
strokeColor
DeviceColor | null
What strokes it; None strokes nothing.
strokeWidth
number
How wide the stroke is, in points.