Size constructor

init

Initializes a new instance of the Size class.

def __init__(self):
    ...

init

Initializes a new instance of the Size class and specify a Height and Width in pixels.

def __init__(self, width, height):
    ...
ParameterTypeDescription
widthintThe width.
heightintThe height.

init

Initializes a new instance of the Size class.

def __init__(self, width, height):
    ...
ParameterTypeDescription
widthLengthThe width.
heightLengthThe height.

See Also