How to draw Text in HTML Canvas?

In order to draw a text, we can make use of the following methods and properties. font property is used to set the size of text along with the text style.  fillText('someText',x,y)  method draws filled text on the canvas. x,y denotes the coordinates for text to be drawn.






Leave a Reply