"Readers will learn everything they need to know about scripted client-side graphics and will be able to draw whatever they want in their web pages: this might be scientific data visualizations, a video game, or cool special effects. In short, readers will learn to master their pixels!"
This book 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
"The Canvas tag," Flanagan promises, "makes web programming fun again."
Speaking of fun, try David's holiday bookmarklet, a marvelous example of splendid Canvas coding.
For a review copy or more information please email firstname.lastname@example.org. Please include your delivery address and contact information.
For more information about the book, including table of contents, author bios, and cover graphic, see: http://oreilly.com/catalog/0636920016045
Canvas Pocket Reference
Publisher: O'Reilly Media
By David Flanagan
Print ISBN: 9781449396800 Ebook ISBN: 9781449397197
Print Price: $12.99 Ebook Price: $10.99
O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.