1 option
Canvas pocket reference : scripted graphics for HTML5 / David Flanagan.
- Format:
- Book
- Author/Creator:
- Flanagan, David.
- Language:
- English
- Subjects (All):
- HTML (Document markup language).
- Internet programming.
- Web site development.
- Physical Description:
- 1 online resource (110 p.)
- Edition:
- First edition.
- Place of Publication:
- Beijing ; Sebastopol, California : O'Reilly, 2010.
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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 ref
- Contents:
- Table of Contents; Preface; Chapter 1. Canvas Tutorial; Drawing Lines and Filling Polygons; Graphics Attributes; Canvas Dimensions and Coordinates; Coordinate System Transforms; Understanding Transformations Mathematically; Transformation Example; 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; Canvas; Canvas.getContext(); Canvas.toDataURL(); CanvasGradient; CanvasGradient.addColorStop()
- CanvasPatternCanvasPixelArray; CRC; CRC.arc(); CRC.arcTo(); CRC.beginPath(); CRC.bezierCurveTo(); CRC.clearRect(); CRC.clip(); CRC.closePath(); CRC.createImageData(); CRC.createLinearGradient(); CRC.createPattern(); CRC.createRadialGradient(); CRC.drawImage(); CRC.fill(); CRC.fillRect(); CRC.fillText(); CRC.getImageData(); CRC.globalCompositeOperation; CRC.isPointInPath(); CRC.lineCap; CRC.lineJoin; CRC.lineTo(); CRC.measureText(); CRC.miterLimit; CRC.moveTo(); CRC.putImageData(); CRC.quadraticCurveTo(); CRC.rect(); CRC.restore(); CRC.rotate(); CRC.save(); CRC.scale(); CRC.setTransform()
- CRC.stroke()CRC.strokeRect(); CRC.strokeText(); CRC.transform(); CRC.translate(); ImageData; TextMetrics; Index
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed October 9, 2013).
- ISBN:
- 9781449302788
- 1449302785
- 9781449302894
- 1449302890
- OCLC:
- 780425370
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.