I want to draw a circular sector. I saw here how to do a circle, which is pretty obvious. What is the best way to draw a circular sector?
I assume you are looking for something like canvas.drawArc() ?
Unfortunately, there isn't a method to do what you want, but you can use drawArc and drawLine. Some info on how to compute the necessary coordinates can be found in this article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With