Closed AlexandreSi closed 10 months ago
Torus task should be good to mark as complete. Don't want anyone working on an implemented shape
Closing as complete 🙌
Hello. Wanted to revisit and try to implement the bonus shape. Just to make sure were you thinking to rewrite the existing rounded rectangle code using the drawFilletRect PixiJS function?
Hello @trp02,
Looking into it, it looks like drawing a rounded rectangle with the currently used method drawRoundedRect
is using a different strategy than the new method drawFilletRect
.
I think the best to do is to make some tests:
drawFilletRect
Then we can make a decision about backporting drawFilletRect in the action "DrawRoundedRectangle".
Description
With the upgrade to Pixi 7, @pixi/graphics-extras has been upgraded from 6.0.0 to 7.3.1. With this upgrade come 3 new shapes:
Bonus:
Solution suggested
Add the 3 missing actions for the 3 shapes mentioned above. Regarding the bonus shape, it should be done in a different Pull Request since the work is a bit different (adapt the rounded rectangle action runtime code).
Alternatives considered
Not doing it.