How To Rotate .png Rendered From Div With Canvas 90° Ccw?
Let me start off by saying that I'm new to working with the Canvas element. I've managed to get a div to render as a png with jQuery and html2canvas.js, but I'd like to rotate the
Solution 1:
add at the end of onrendered:
image.style.transform = "rotate(90deg)";
you need more variations of transform to get it working cross browsers
Post a Comment for "How To Rotate .png Rendered From Div With Canvas 90° Ccw?"