getGroupShape method

getGroupShape(index, isDeep)

Returns an Nth child GroupShape node.

getGroupShape(index: number, isDeep: boolean)
ParameterTypeDescription
indexnumberZero based index of the child GroupShape node to select. Negative indexes are also allowed and indicate access from the end, that is -1 means the last node.
isDeepbooleantrue to select from all child nodes recursively; false to select only among immediate children.

Remarks

If index is out of range, a null is returned.

Returns

The child GroupShape node or null if no matching node is found.

See Also