Size constructor

init

Constructs a new instance of Size

def __init__(self):
    ...

init

Initializes a new instance of the Size class from the specified dimensions.

def __init__(self, width, height):
    ...
ParameterTypeDescription
widthintThe width component of the new Size.
heightintThe height component of the new Size.

See Also