RectangleShape constructor

__init__(self)

Constructor of RectangleShape


def __init__(self):
    ...

__init__(self, xdim, ydim)

Constructor of RectangleShape with specified dimension on x and y axis.


def __init__(self, xdim, ydim):
    ...
ParameterTypeDescription
xdimfloat
ydimfloat

See Also