TextWatermark constructor

init

Initializes a new instance of the TextWatermark class with a specified text and a font.

def __init__(self, text, font):
    ...
Parameter Type Description
text str The text to be used as watermark.
font Font The font of the text.

See Also