Images

Writing Text to the Canvas

Images

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonhtml5/.

This lesson continues our exploration of the HTML5 canvas by looking at how you can write text to it, including using a variety of fonts and styles, as well as incorporating the various fill styles covered in the previous lesson.

Many of these examples draw on those in Lesson 10, so you may wish to refer back to that from time to time as you work your way through this one.

Writing Text

HTML 4.01 provides some handy tags ...

Get HTML5: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.