art
art copied to clipboard
Transformations on ART.Group
So far, what's possible is scaling a group of objects, rotating and translating doesn't seem to be working.
Tested the following on 0.8 which throws JS errors.
var group = new ART.Group; group.rotate(90);
Generally, I would think a "group" has the same set of methods that a Path/Shape would have, well, at least the transformations (rotate, translate, scale);
Actually you can rotate if you explicitly say which point to rotate around.
group.rotate(90, 0, 0);
The problem is that group.measure(); doesn't work yet. So it can't calculate the center position. But it will.