Skip to content

Commit

Permalink
pointOnCircle explanation added
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Kwak committed Oct 25, 2018
1 parent 83fc7e1 commit 8d282a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/how-to-create-paths/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Now the `Path` and `Color` classes are required in and ready to be used.

##### Calculate a point on a circle

Our plugin will need to be able to calculate the coordinates of a point on a circle.
Since our plugin will create a pie chart, this helper function will be used to return an x,y coordinates of each wedge in the pie chart. The function accepts `radius` and `angle` as parameters and use them to calculate the coordinates of a point on a circle at a given angle on the perimeter of the circle.

Add the lines of code below to your file:

Expand Down

0 comments on commit 8d282a2

Please sign in to comment.