Skip to content

YannickBochatay/JSYG.Path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Manipulation of svg path with JSYG framework

Resources

License

Stars

Watchers

Forks

Packages