Friday, April 12, 2013

Make an arc on a canvas move counterclockwise.

In drawing on the canvas replace something like this:

foo.arc(230, 195, 20, 2 * Math.PI, 1.25 * Math.PI);

...with...

foo.arc(230, 195, 20, 2 * Math.PI, 1.25 * Math.PI, true);

No comments:

Post a Comment