- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are start angle and end angle of arc in HTML5 canvas?
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