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 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.