Sg2.0
Group
Packages

Group extends Art

A Group is a collection of Art objects. When you transform a Group, it's children are treated as a single unit without changing their relative positions. The Group's style or transparency blending attributes affect the rendering of it's children without changing their style/attributes.

Constructors

Creates a group item from the supplied list of art items
Parameters:
children: ExtendedList - either an ArtSet or an array
Parameters:
children: Array of Art

Properties

A boolean value that specifies whether the group item is to be clipped.When setting to true, the first child in the group is automaticallydefined as a clipMask by setting its clipMask property to true.
Sample code:
var group = new Group();group.appendChild(path);group.clipped = true;
Returns:
Boolean

Inheritance