Drawing dynamically created SVG on HTML Canvas

前端 未结 0 1386
無奈伤痛
無奈伤痛 2021-02-13 16:02

I define simple svg as a string, create img, initialize img.src by this string and then draw this img on my canvas. But canvas after all is empty (((.

This is my code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题