new xrx.shape.ShapeGroup()
A class representing a group of shapes sharing
style definitions and behaviour.
Methods
-
xrx.shape.ShapeGroup#addChildren(children)
-
Adds shapes to this shape group.
Parameters:
Name Type Description children
Array.<xrx.shape.Shape> The shapes to add. -
xrx.shape.ShapeGroup#getCreatable() → {xrx.shape.ShapeGroupCreatable}
-
Returns a helper shape that makes this shape group creatable.
Returns:
The creatable shape group. -
xrx.shape.ShapeGroup#getHoverable() → {xrx.shape.ShapeGroupHoverable}
-
Returns a helper shape that makes this shape group hoverable.
Returns:
The hoverable shape group. -
xrx.shape.ShapeGroup#getModifiable() → {xrx.shape.ShapeGroupModifiable}
-
Returns a helper shape that makes this shape group modifiable.
Returns:
The modifiable shape group. -
xrx.shape.ShapeGroup#getSelectable() → {xrx.shape.ShapeGroupSelectable}
-
Returns a helper shape that makes this shape group selectable.
Returns:
The selectable shape group.