C H A P T E R  36

Using the Canvas Element – Part II

In this chapter, I continue describing the features of the canvas element, showing how we can draw more complex shapes (including arcs and curves), how we can limit operations using a clipping region and how we can draw text. I also describe the effects and transformations that we can apply to the canvas, including shadows, transparency, rotations, and translations. Table 36-1 provides the summary for this chapter.

Image

Image

Drawing Using Paths

The examples in the Chapter 35 all relied on our ability ...

Get The Definitive Guide to HTML5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.