Raphael has a nifty function to transform one path to another:
R.transformPath = function (path, transform) {
return mapPath(path, toMatrix(path, transform));
}
Is there a similar function in svg.js?
Raphael has a nifty function to transform one path to another:
R.transformPath = function (path, transform) {
return mapPath(path, toMatrix(path, transform));
}
Is there a similar function in svg.js?
Copyright © 2021 Jogjafile Inc.
To transform the path array you would do something along those lines: