You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one attempts to translate a path and calls .rel nothing will happen.
testPath="m 70, 70 l 20, 20 l -20, 0 l 0, -20"svgpath(testPath).translate(100,100).toString()// "M170 170l20 20-20 0 0-20" - as expectedsvgpath(testPath).translate(100,100).rel().toString()// "m70 70l20 20-20 0 0-20" - now.. that one is not translatedsvgpath(svgpath(testPath).rel().toString()).translate(100,100).toString()// "M170 170l20 20-20 0 0-20" - as expected
The text was updated successfully, but these errors were encountered:
// "m70 70l20 20-20 0 0-20" - now.. that one is not translated
It shifted starting point of relative path ([170, 170] -> [70, 70]), and returned relative path. What's the problem with it? Why you decided this result is not correct?
If one attempts to translate a path and calls
.rel
nothing will happen.The text was updated successfully, but these errors were encountered: