OEAddWatermark

OEAddWatermark(image: OEImageBase, text: str, scale: float = 1.0) -> None
OEAddWatermark(disp: OE2DMolDisplay, text: str, scale: float = 1.0) -> None

Adds a watermark to an image or a molecule display.

text

The text of the watermark.

scale

The multiplier that can be used to increase or decrease the font size of the watermark text. This value has to be in the range of [0.5, 2.0].