O'Reilly logo

Instant RaphaelJS Starter by A. Krishna Sagar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Top features you need to know about

As you learn to use RaphaelJS, you will realize that there are a plethora of things you can do with it. This section will teach you all about the most commonly performed tasks and most commonly used features in RaphaelJS.

By the end of this section, you will be able to:

  • Create a Raphael element
  • Manipulate the style of the element
  • Transform the element
  • Perform animations on the element
  • Add JavaScript events to the element

Creating a Raphael element

Creating a Raphael element is very easy. To make it better, there are predefined methods to create basic geometrical shapes.

Basic shape

There are three basic shapes in RaphaelJS, namely circle, ellipse, and rectangle. Since the circle is already covered in the Quick start ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required