class SpgrContainer (View source)

Methods

setParent(SpgrContainer $parent)

Set parent Shape Group Container.

getParent()

Get the parent Shape Group Container if any.

addChild(mixed $child)

Add a child. This will be either spgrContainer or spContainer.

getChildren()

Get collection of Shape Containers.

getAllSpContainers()

Recursively get all spContainers within this spgrContainer.

Details

setParent(SpgrContainer $parent)

Set parent Shape Group Container.

Parameters

SpgrContainer $parent

null|SpgrContainer getParent()

Get the parent Shape Group Container if any.

Return Value

null|SpgrContainer

addChild(mixed $child)

Add a child. This will be either spgrContainer or spContainer.

Parameters

mixed $child

getChildren()

Get collection of Shape Containers.

SpContainer[] getAllSpContainers()

Recursively get all spContainers within this spgrContainer.

Return Value

SpContainer[]