Rect constructor

__init__(self)

Constructs a new instance of Rect


def __init__(self):
    ...

__init__(self, x, y, width, height)

Constructor of class Rect


def __init__(self, x, y, width, height):
    ...
ParameterTypeDescription
xint
yint
widthint
heightint

See Also