Canvas Pocket Reference: Scripted Graphics for HTML5 (Paperback)
暫譯: HTML5 繪圖快速參考手冊:腳本化圖形

David Flanagan

  • 出版商: O'Reilly
  • 出版日期: 2011-01-18
  • 定價: $455
  • 售價: 4.4$199
  • 語言: 英文
  • 頁數: 110
  • 裝訂: Paperback
  • ISBN: 1449396801
  • ISBN-13: 9781449396800
  • 相關分類: HTML
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

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

商品描述(中文翻譯)

Canvas 元素是 HTML5 的一項革命性功能,能為豐富的網際網路應用程式提供強大的圖形支持,而這本口袋參考書提供了您需要的基本知識,以便將此元素付諸實踐。如果您對 JavaScript 有一定的了解,這本書將幫助您創建詳細的、互動的和動畫的圖形——從圖表到動畫再到視頻遊戲——無論您是網頁設計師還是對圖形感興趣的程式設計師。

《Canvas 口袋參考書》提供了一個涵蓋所有元素特性的教程,並附有大量範例,以及對每個與 Canvas 相關的類別、方法和屬性的權威參考。

您將學會如何:
- 繪製線條、多邊形和曲線
- 應用顏色、漸層、圖案和透明度
- 使用變換平滑地旋轉和調整繪圖大小
- 在圖形環境中處理文字
- 應用陰影以創造深度感
- 將位圖圖像納入向量圖形
- 在 JavaScript 中執行圖像處理操作