Canvas Pocket Reference
- Authors
- Flanagan, David
- Publisher
- O'Reilly Media
- Tags
- computers , web , page design , reference , programming
- ISBN
- 9781449396800
- Date
- 2010-12-20T00:00:00+00:00
- Size
- 1.15 MB
- Lang
- en
The Canvas element is a revolutionary feature of HTML5 that enables powerful graphics for rich Internet applications, and this pocket reference provides the essentials you need to put this element to work. If you have working knowledge of JavaScript, this book will help you create detailed, interactive, and animated graphics -- from charts to animations to video games -- whether you're a web designer or a programmer interested in graphics.
Canvas Pocket Reference provides both a tutorial that covers all of the element's features with plenty of examples and a definitive reference to each of the Canvas-related classes, methods, and properties.
You'll learn how to:
Draw lines, polygons, and curves
Apply colors, gradients, patterns, and transparency
Use transformations to smoothly rotate and resize drawings
Work with text in a graphic environment
Apply shadows to create a sense of depth
Incorporate bitmapped images into vector graphics
Perform image processing operations in JavaScript