An open API service indexing awesome lists of open source software.

https://github.com/fusioncharts/svgdecanvo

This library can be used to draw the SVG equivalent to HTML5 Canvas
https://github.com/fusioncharts/svgdecanvo

Last synced: about 2 months ago
JSON representation

This library can be used to draw the SVG equivalent to HTML5 Canvas

Awesome Lists containing this project

README

        

# SvgDeCanvo - Converts SVG string to canvas

## Installation
```
npm install svgdecanvo
```
## Usage
```JavaScript
var svgString = `





Use index.html as a template to work on temporary workspace!



Ensure that your test files are named spec-<somename>.html

`,
canvasEle = document.createElement('canvas');

SVG = new SvgDeCanvo(svgString, canvasEle, function (canvas) {
});

```