Tuesday , 16 July 2019
Home / Tag Archives: baseline

Tag Archives: baseline

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-5d2d2205a0e0a062240849/] 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 »