sstp
v1.0.6
Published
Convert svg shape elements to path element.
Readme
svgShapeToPath
Convert rect/circle/ellipse/polygon elements to path element.
Install
git clone [email protected]:mailzwj/sstp.git
# or
npm install sstpUse
First
npm installThen
var convertToPath = require("./svg-shape-to-path").convertToPath;
convertToPath("./shape-to-path.svg", "./converted.svg");Function
Convert rect/circle/ellipse/polygon elements to path element. Don't contain line and polyline element. if need, please use rect instead.
