1
var c = document.getElementById("myCanvas");
2
var ctx = c.getContext("2d");
3
ctx.font = "30px Arial";
4
ctx.fillText("Hello World", 10, 50);
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.font = "30px Arial";
ctx.fillText("Hello World", 10, 50);