Деталі електронної книги

Instant RaphaelJS Starter. Get to grips with RaphaelJS - a powerful cross-browser compatible vector graphics library, to create interactive 2D graphics and animations with ease

Instant RaphaelJS Starter. Get to grips with RaphaelJS - a powerful cross-browser compatible vector graphics library, to create interactive 2D graphics and animations with ease

Krishna Sagar

Eлектронна книга
Drawing in a browser without images has been around for a long time but it was a complex task with browser support issues. Raphael JS aims to solve all these problems with simple and clear methods to draw cross-browser compatible drawings. Imagine drawing complex dials, graphs, and meters for a dashboard, all without images, and the ability to dynamically manipulate those drawings. Creativity is the only limit with Raphael JS.Instant RaphaelJS Starter is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the real power that is behind Raphael JS, and give you a good grounding in using it in your web pages.Instant RaphaelJS Starter looks at the HTML5 video formats available, and breaks down the mystery and confusion that surrounds which format to use. It will take you through a number of clear, practical recipes that will help you to take advantage of the new HTML5 video standard, quickly and painlessly. You will also learn how to draw your own shapes using any vector graphics editor, or by using one of the pre-defined shapes. We will also take a look at adding functionality such as DOM events, or animations, as well as how to manipulate the shapes dynamically. If you want to take advantage of imageless vector graphics for browsers using Raphael JS, then this is the book for you.You will learn everything you need to know to convert shapes and perform animations, as well as how to draw custom shapes with simple techniques using Raphael JS and use them across multiple browsers.
  • Instant RaphaelJS Starter
    • Instant RaphaelJS Starter
    • Credits
    • About the Author
    • About the Reviewer
    • www.packtpub.com
      • Support files, eBooks, discount offers and more
    • packtLib.packtpub.com
      • Why Subscribe?
      • Free Access for Packt account holders
    • 1. Instant RaphaelJS Starter
      • So, what is RaphaelJS?
        • Two-headed and three-lettered
        • The marriage of two problems and the birth of RaphaelJS
          • JavaScript the binder of oddities
        • Browser support
        • What is RaphaelJS and what is not RaphaelJS?
          • A little about vector and raster graphics
          • RaphaelJS as a vector
        • The x, y positioning that RaphaelJS uses
      • Installation
        • Step 1 What do I need?
        • Step 2 Downloading RaphaelJS
        • Step 3 Adding it to the HTML
        • And thats it!
      • Quick start creating your first shape
        • Step 1 Creating a canvas to draw on
          • Creating a canvas in the browser's viewport
          • Creating an object in an element (recommended)
        • Step 2 Drawing the circle
          • The attr() method
      • Top features you need to know about
        • Creating a Raphael element
          • Basic shape
            • Rectangle
            • Rounded rectangle
            • Ellipse
          • Complex shapes
        • Extracting and using paths from an editor
          • Vector graphics editors
            • Step 1 Creating the shape in the vector editor
            • Step 2 Saving the shape as SVG
            • Step 3 Copying the SVG path string
            • Step 4 Using the copied path as a Raphael path string
          • Creating text
        • Manipulating the style of the element
        • Transforming an element
          • Manipulating a shape
        • Animating a shape
        • Animating transformations
        • Adding events to Raphael elements
          • Click event
          • Mouseover event
        • Methods you'll want to know and use
          • Element methods
            • animate()
            • attr()
            • click()
            • dblclick()
            • mousedown()
            • mouseup()
            • mousemove()
            • mouseover()
            • mouseout()
            • clone()
            • data()
            • removedata()
            • getBBox()
            • getPointAtLength()
            • toFront()
            • toBack()
            • hide()
            • show()
            • transform()
            • remove()
          • Paper methods
            • paper.circle()
            • paper.ellipse()
            • paper.rect()
            • paper.clear()
            • paper.image()
            • paper.setSize()
            • paper.set()
          • Set methods
            • set.clear()
            • set.exclude()
            • set.forEach()
            • set.pop()
            • set.splice()
      • People and places you should get to know
        • Official sites
        • Articles and tutorials
        • Community
        • Blogs
        • Twitter
      • Summary
  • Назва: Instant RaphaelJS Starter. Get to grips with RaphaelJS - a powerful cross-browser compatible vector graphics library, to create interactive 2D graphics and animations with ease
  • Автор: Krishna Sagar
  • Оригінальна назва: Instant RaphaelJS Starter. Get to grips with RaphaelJS - a powerful cross-browser compatible vector graphics library, to create interactive 2D graphics and animations with ease
  • ISBN: 9781782169864, 9781782169864
  • Дата видання: 2013-01-25
  • Формат: Eлектронна книга
  • Ідентифікатор видання: e_2wan
  • Видавець: Packt Publishing