Friday, May 7th, 2010

Raphael 1.4: Touch and more

Category: SVG

Dmitry Baranovskiy has been hacking away on Raphael. It is almost like he has had a bunch more time for it recently! :)

Version 1.4 has a bunch of cool new features such as:

  • Touch events support
  • rgba support
  • new method drag
  • document.onmousemove = f ? Raphael.mousemove(f)
  • resetScale method
  • scaling text will change it position, but not size
  • sets now have type “set”
  • rect in VML doesn’t recreate itself on change of the R
  • paths are not rounded to the nearby pixels anymore
  • Various small bug fixes and improvements
  • added preventDefault and stopPropagation to event object

Very nice.

Posted by Dion Almaer at 6:20 am

2.8 rating from 4 votes


Comments feed TrackBack URI

Raphael is currently indeed the best way to create browser-independent graphics from javascript. And the new features look all very useful.
The news should however contain a link to the Raphael website .

Comment by eludi — May 7, 2010

It would be nice if you actually put links to the things you’re talking about in the articles.

Comment by mchaput — May 7, 2010

Comment by genericallyloud — May 7, 2010

When articles cover things that arn’t covered all the time on Ajaxian (as opposed to jQuery, HTML5, PHP, Perl, etc) had a brief explanation of the thing being covered. With two articles on Raphael this week, I’ve learned that idea that Raphael’s creator is productive and that Ajaxian likes images with retro-70’s circles in them. Thanks to Eludi’s comment, I’ve now got some basic idea of why I would use Raphael.

Comment by coyote4til7 — May 7, 2010

“scaling text will change it position, but not size” sounds strange


Comment by Qnan — May 11, 2010

Leave a comment

You must be logged in to post a comment.