"《Canvas袖珍參考手冊 (第1版)》(Canvas Pocket Reference: Scripted Graphics for HTML5)英文文字版/更新EPUB版本/更新源代碼[PDF]"介紹
中文名: Canvas袖珍參考手冊 (第1版)
原名: Canvas Pocket Reference: Scripted Graphics for HTML5
作者: David Flanagan
圖書分類: 軟件
資源格式: PDF
版本: 英文文字版/更新EPUB版本/更新源代碼
出版社: O'Reilly
書號: 978-1-4493-9680-0
發行時間: 2010年12月
地區: 美國
語言: 英文
簡介:
內容介紹: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
內容截圖:
目錄:
Chapter 1 Canvas Tutorial
Drawing Lines and Filling Polygons
Graphics Attributes
Canvas Dimensions and Coordinates
Coordinate System Transforms
Drawing and Filling Curves
Rectangles
Colors, Transparency, Gradients, and Patterns
Line-Drawing Attributes
Text
Clipping
Shadows
Images
Compositing
Pixel Manipulation
Hit Detection
Canvas Example: Sparklines
Chapter 2 Canvas Reference