I'm making a website where you have a painting to color a drawing.
After much research I was able to paint a certain area of the canvas
drawing.
Now I want to do a function that prints the drawing I made.
I'm trying to do this:
<div id="painter">
<canvas style="z-index: 1;"></canvas>
<canvas style="z-index: 2;"></canvas>
<canvas style="z-index: 3;"></canvas>
<canvas style="z-index: 4;"></canvas>
</div>
My frame has all these canvas
.
When I take a risk on the board it creates another canvas
and so on.
I want to print the drawing, but that way it's not going to print. When you open the screen to print 5 empty sheets appear.
Does canvas
not print?