1.1.0 • Published 2 months ago

jsyg-path v1.1.0

Weekly downloads
50
License
MIT
Repository
github
Last release
2 months ago

JSYG.Path

Manipulation of svg path with JSYG framework

Installation

npm install jsyg-path

Example with es6

import Path from "jsyg-path"

let path = new Path();
path.moveTo(0,0).lineTo(30,50).lineTo(80,80);
path.appendTo('svg#mySVGContainer');

path = new Path('#myPath');
path.normalize(); //M,L,C,Z,z segments only