Old School Way
var canvas = document.getElementById("canvas"); var context = canvas.getContext("2d");
var canvas = $("#myCanvas"); var context = canvas.get(0).getContext("2d");
Subscribe to our mailing list
Subscribe to our mailing list and receive a free udpates
Thank you for subscribing.
Something went wrong.