Closed xeoneux closed 6 years ago
The library works well with the shapes provided but does not load images if I pass in
shape { type: "image", image: { src: "url_to_svg_or_png", width: 100, height: 100 } }
The error encountered is:
Uncaught TypeError: Cannot read property 'clearRect' of undefined
The library seems not to work with svg, but here's an example project with a png:
Thanks to @wdavidw ( pr #35 ) you can now use svgs :
The library works well with the shapes provided but does not load images if I pass in
The error encountered is: