Answers for "draw text in js"

0

draw text in js

function draw() {
  var ctx = document.getElementById('canvas').getContext('2d');
  ctx.font = '48px serif';
  ctx.fillText('Hello world', 10, 50);
}
Posted by: Guest on October-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language