jonobr1 / two.js

A renderer agnostic two-dimensional drawing api for the web.
https://two.js.org
MIT License
8.29k stars 454 forks source link

Add radius property to polygon class #611

Closed Awkor closed 2 years ago

Awkor commented 2 years ago

These assignments are now redundant, but I didn't want to delete them because I imagine the comments above them are used to generate the documentation.

I've included a correction regarding the cloning behavior too, let me know if you want that as a separate pull request.

In my previous pull request, I included the documentation changes, should I do the same for this one?

jonobr1 commented 2 years ago

Awesome, thanks! This looks good. I believe you can delete the code, but leave the comments so that the documentation is still generated.

Feel free to regenerate the documentation and I'll merge this in.

Awkor commented 2 years ago

Done.

jonobr1 commented 2 years ago

Awesome, thank you!