Skip to content

trofima/svg-arc-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG Arc renderer

Simple SVG arc renderer. It returns string representing an svg arc.

All you need is in dist folder. The class uses commonjs pattern for module exporting. Typescript declarations can be found here.

Example

var arcContainer = document.createElement('div');

arcContainer.innerHTML = new SVGArc({
    canvasSize: 300,
    radius: 100,
    angle: 270
}).render();

About

Renders an svg arc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published