Renders an HTML string to a canvas. This is done by first embedding HTML into a svg and then rendering the svg to a canvas.
HTML string
CSS string
options for rendering the canvas
HTML canvas element
Renders an HTML string to a canvas. This is done by first embedding HTML into a svg and then rendering the svg to a canvas.