Creates a group element
Returns: object the g element
g
var c1 = paper.circle(), c2 = paper.rect(), g = paper.g(c2, c1); // note that the order of elements is different
or
var c1 = paper.circle(), c2 = paper.rect(), g = paper.g(); g.add(c2, c1);