Dimensions constructor

init

Initializes a new instance of the Dimensions class.

def __init__(self):
    ...

init

Initializes a new instance of the Dimensions class.

def __init__(self, width, height):
    ...
ParameterTypeDescription
widthfloatThe width.
heightfloatThe height.

See Also