O'Reilly logo

The Definitive Guide to HTML5 by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required