raphaeljs - renfengmei/doc GitHub Wiki

1.getCircletoPath

 function getCircletoPath(x , y, r) // x and y are center and r is the radius
   {

       var s = "M";
       s = s + "" + (x) + "," + (y-r) + "A"+r+","+r+",0,1,1,"+
(x-0.1)+","+(y-r)+"z";
       //alert(s);
       return s;
   }
⚠️ **GitHub.com Fallback** ⚠️