I have this code in Raphael:
var myrect = paper.rect(10,10, 25,25);
The rectangle appears.
When I add this code:
myrect.transform(T200,0);
…nothing happens.
Anyone know what I’m doing wrong, please? These Raphael transforms don’t seem to be working for me.
Thank you!
It could be that Element.transform takes a string as a parameter.
Try:
And see if that makes any difference.
Source:
http://raphaeljs.com/reference.html#Element.transform