Friday, May 20, 2011

arcTo

arcTo(x1, y1, x2, y2, radius)

example:
arcTo

function drawArc(context){

context.strokeStyle = "#000000";
context.lineWidth = 5;

context.moveTo(50,50);
context.lineTo(50,200);
context.arcTo(300,200,300, 50, 150);
context.stroke();


}


No comments:

Post a Comment