Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 458 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 458 Bytes

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();