|
游客,本帖隐藏的内容需要积分高于 1 才可浏览,您当前积分为 0
资源信息:
中文名: 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
|