Represents a set of drawing elements, possibly including other groups.
The children of this group.
The configuration of this element.
Creates a new Group instance with the specified options.
Configuration options for the group.
Appends the specified element as a last child of the group.
Returns the bounding box of the element with applied transformations.
- The bounding box of the element with transformations applied.
Removes all child elements from the group.
Gets the clipping path for this element.
- The clipping path for this element.
Sets the clipping path for this element. The Path instance will be monitored for changes. Can be replaced by calling the
The following example demonstrates how to set a clipping path on a Circle.
The following example demonstrates how to clear a clipping path.
The element clipping path.
Returns the bounding box of the element with clipping and transformations applied. This is the rectangle that will fit around the actual rendered element.
- The bounding box of the element with clipping and transformations applied.
true if the shape contains the specified point.
The point that should be checked.
value indicating if the shape contains the point.
Inserts an element at the specified position.
The position to insert the element at. Existing children beyond this position are shifted right.
The element to insert.
Gets the element opacity.
The current element opacity.
Sets the opacity of the element.
The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
Removes the specified element from the group.
The element to remove.
Removes the child element at the specified position.
The index at which the element currently resides.
Gets the transformation of the element.
- The current transformation on the element.
Sets the transformation of the element.
The transformation to apply to the element.
Gets the visibility of the element.
true if the element is visible. Otherwise, returns
Sets the visibility of the element.
A flag which indicates if the element will be visible.