0
Why this ctx is not working?
ctx.fillStyle = "#FF0000"; ctx.fillRect(10,10, 100, 100); ctx.rotate( (Math.PI / 180) * 25); //rotate 25 degrees. ctx.fillStyle = "#0000FF"; ctx.fillRect(10,10, 100, 100);
2 odpowiedzi
+ 2
Did you create the ctx variable?
Did you get any error?
Please link your complete code here.
0
I dont know how.Can you give me the complete code