0

rotate

ctx.rotate(1); does the 1 stand for 45 degrees ? and the math PI 's meaning is ? I try to change the number from 180 to 360 and it looks like more far away then the example, but still can't find out the number behind ( 25) where from ? when I change it to 90 it will totally gone, but I don't know why?

5th Aug 2016, 7:14 AM
Kemp
Kemp - avatar
2 Respostas
0
your question is not clear
30th Aug 2016, 1:38 AM
Mohammad imran
Mohammad imran - avatar
0
25 it's the number of degrees you want to rotate and number 1 does not stand for any degrees and the mathPI it's used to transform the rotation from radium to degrees and make it easy for you.
7th Oct 2016, 9:25 PM
Otmane Guourch
Otmane Guourch - avatar