Friday , 16 November 2018
Home / Tag Archives: style

Tag Archives: style

Text API – Advanced JavaScript Tutorial

Text API

In this tutorial, we’ll take a look at how to add text to our canvas. It’s actually quite simple. You’re given many options to set up how the text appears. Let’s update our script to this. [crayon-5beea8d257240236459649/] There are 2 methods to add text to the canvas. They are the fillText() and strokeText() methods. Both of these methods have the …

Read More »