+ 1

Is it possible for SVG and Canvas to be used in the same document?

25th Dec 2018, 10:49 PM
Chidera Anichebe
Chidera Anichebe - avatar
2 Answers
+ 6
Please finish the tutorials: You can actually use both SVG and canvas on the same page, if needed. However, you cannot just draw SVG onto a canvas, or vice-versa. https://www.sololearn.com/learn/HTML/2202/
25th Dec 2018, 10:51 PM
Koketso Dithipe
Koketso Dithipe - avatar
+ 2
You could embed an SVG via an Image variable, you just need to reference it in the src, use drawImage to load it into canvas.
26th Dec 2018, 1:02 AM
CalviŐČ
CalviŐČ - avatar