Per the docs:
rectangle(x, y, w, h, corners=(r1, r2, r3, r4), stroke=0)
But when I try this:
display.rectangle(30, 0, 420, 420, ((20, 20, 20, 10)), 1)
I get this error:
function takes 5 positional arguments but 7 were given
When I try this:
display.rectangle(30, 0, 420, 420, corners=((20, 20, 20, 10)), stroke=1)
I get this error:
function doesn’t take keyword arguments
What am I doing wrong?