Copy link to clipboard
Copied
i want to ellipses the mask path
but i don't know where my code went wrong...
Copy link to clipboard
Copied
It looks like p1 through p4 are missing their square brackets, like this:
p1 = [rect.left + rect.width/2, rect.top + 5];