- Related Questions & Answers
- Arc length from given Angle?
- Arc length from given Angle in C++?
- Get the arc cosine of an angle in Java
- Get the arc sine of an angle in Java
- How to rotate an image with the canvas HTML5 element from the bottom center angle?
- What is called "Angle of Banking"?
- What are save and restore methods in HTML5 Canvas?
- Angle between a chord and a tangent when angle in the alternate segment is given in C++?
- Parse and balance angle brackets problem in JavaScript
- Angle Between Hands of a Clock in C++
- What are free libraries for Canvas in HTML5?
- How to find cosine of an angle using Python?
- Angle between two Planes in 3D in C++?
- Find other two sides and angles of a right angle triangle in C++
- What is composition in HTML5 Canvas?

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

The arc() function has the following definition that shows the usage of start and ends angle −

arc(x, y, radius, startAngle, endAngle, anticlockwise)

This method has the following parameters −

- x and y are coordinates of the circle’s center.
- Radius is the circle radius
- StartAngle and EndAngle define the start and endpoints of the arc in radians. Starting and closing angles are measured from the horizontal i.e. x-axis
- Anticlockwise is the Boolean value which when true draws arc anticlockwise otherwise in a clockwise direction.

Advertisements