+ 2
In this example first it put the rotate and after the element why? this confuse me
4 odpowiedzi
+ 5
Where IS the code?
0
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);
0
this code is in the html5 box 16 second botoon play.
0
thanks for you interesting