Friday, May 7th, 2010
Raphael 1.4: Touch and more
<>p>
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.
Related Content:











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 http://raphaeljs.com/ .
It would be nice if you actually put links to the things you’re talking about in the articles.
http://raphaeljs.com/
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.
“scaling text will change it position, but not size” sounds strange
–Mikhail