Tag Archives: canvas example

Draw Text on canvas in HTML5

  You can draw the text on the HTML5 canvas, for it we use the following JavaScript method:   fillText(text, x, y [,maxWidth]) method fills the text in the current fill style. strokeText(text, x, y [,maxWidth]) method outlines the text in the current stroke style.   Both methods uses the following arguments: text: The text … Continue reading Draw Text on canvas in HTML5