__init__ constructor

On this page

init

Initializes an instance of the Size class.

def __init__(self, relative_size):
    ...
Parameter Type Description
relative_size int The size in percents in relation to page size.
Raises Description
ValueError When relative_size is zero or higher than 100.

See Also

On this page