HTML and CSS Reference
In-Depth Information
Setting the Text Font
In this section, we will update this application to configure and render the text in multiple
ways. We will start with the text font.
Now that we have placed text on the canvas, it's time to explore some of the basics of setting
the context.font property. As you will see, specifying the font for displaying basic text on
Canvas is really no different from doing the same thing in HTML and CSS.
Search WWH ::




Custom Search