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?
2 Respostas
0
your question is not clear
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.