kimh
0
Q:

canvas fill text


var canvas = document.getElementById("myCanvas");
var ctx = canvas.getContext("2d");

ctx.font = "30px Arial";
ctx.fillText("Hello World", 10, 50); 
8
ctx.fillText("Hello World!", x, y);
2

New to Communities?

Join the community