3
$\begingroup$

How to draw an arc, I have these values

x  // x coordinate  y // y coordinate  r // Arc radius startAngle // Starting point on circle endAngle // End point on circle clockwise  // clockwise or anticlockwise 

where x,y is the center of circle. Can someone please provide me equation for drawing an arc?

  • 3
    What do you mean by "draw"? Are you using some kind of software? x,y are coordinates of what?2012-01-02
  • 0
    I have to draw an arc using my own method in programming language like javascript. x,y is the center of circle.2012-01-02

3 Answers 3