DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.27k stars 1.67k forks source link

Feature Request: a method to return pathString -> el.getPathString() ? #1003

Open byuksel opened 9 years ago

byuksel commented 9 years ago

Example: var circle = paper.circle(100, 56, 50); circle.getPathString();

will return:

"M100,56M100,6C138.49001794597504,6.000000000000003,162.54627916220946,47.66666666666667,143.30127018922195,81C134.36963044151787,96.47005383792515,117.86327949540818,106,100,106C61.50998205402496,106,37.453720837790556,64.33333333333334,56.69872981077806,31.000000000000014C65.63036955848214,15.529946162074857,82.13672050459182,6.0000000000000036,100,6C100,6,100,6,100,6"

tomasAlabes commented 8 years ago

Mind to elaborate?