I want to draw a circular sector. I saw here how to make a circle, which is pretty obvious. What is the best way to create a circular sector?
I assume you are looking for something like canvas.drawArc () ?
Unfortunately, there is no way to do what you want, but you can use drawArcand drawLine. Some information on how to calculate the necessary coordinates can be found in this article .
drawArc
drawLine
This article explains in detail how to draw curved lines in android. Hope this helps to understand better.