Raphaeljs transformations with sets
问题 I have these 4 rectangles and each rectangle has some amount of rotation transformation applied to it. I put all these rectangles in a set and then applied transformation on it. Doing so the rotation transformation on the individual rectangles was lost. I do not want that to happen. How can I work around this? JS Fiddle Code window.onload = function(){ var paper = Raphael(0,0,500,500); var rect01 = paper.set(); paper.setStart(); var a = paper.rect(10,10,50,10).transform("r10"); var b = paper