Skip to content

Convert 100x100 SVG docuemnt path descriptors ('d') to clip-path: polygon(...)

License

Notifications You must be signed in to change notification settings

ainalem/clip-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clip-svg

Convert 100x100 SVG files into clip-path: polygons. Parses SVG document and converts whatever path nodes there is. Each of the path descriptors will be converted to clip-paths i.e. path descriptors d="..." to clip-path: polygon(...)

Installation

npm install -g clip-svg

Usage

clip-svg <SVG file>

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Convert 100x100 SVG docuemnt path descriptors ('d') to clip-path: polygon(...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published