函数描述:
object arcTo(real x1, real y1, real x2, real y2, real radius)
用途:
画一段与两个线段相切的圆弧。
用法:
beginPath();
moveTo(x, y);
arcTo(x1, y1, x2, y2, radius);
strokeStyle = "red";
stroke();
图示: