Rect constructor

init

Constructs a new instance of Rect

def __init__(self):
    ...

init

Constructor of class Rect

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

See Also