a container of shapes, which can be used as a foundation for renderer-specific groups, or as a way to logically group shapes (e.g, to propagate matricies)
See the dojox/gfx/shape.Container reference documentation for more information.
moves a shape to back of the list of shapes
Parameter | Type | Description |
---|---|---|
shape | dojox/gfx/shape.Shape | one of the child shapes to move to the front |
moves a shape to back of the list of shapes
moves a shape to front of the list of shapes
Parameter | Type | Description |
---|---|---|
shape | dojox/gfx/shape.Shape | one of the child shapes to move to the front |
moves a shape to front of the list of shapes
adds a shape to the list
Parameter | Type | Description |
---|---|---|
shape | dojox/gfx/shape.Shape | the shape to add to the list |
removes all shapes from a group/surface.
Parameter | Type | Description |
---|---|---|
destroy | Boolean |
Optional Indicates whether the children should be destroyed. Optional. |
removes all shapes from a group/surface.
submits the current batch, append all pending child shapes to DOM
On canvas, this method flushes the pending redraws queue.
submits the current batch, append all pending child shapes to DOM
starts a new batch, subsequent new child shapes will be held in the batch instead of appending to the container directly.
Because the canvas renderer has no DOM hierarchy, the canvas implementation differs such that it suspends the repaint requests for this container until the current batch is closed by a call to closeBatch().
starts a new batch, subsequent new child shapes will be held in the batch instead of appending to the container directly.
removes a shape from the list
Parameter | Type | Description |
---|---|---|
shape | dojox/gfx/shape.Shape | the shape to remove |
silently | Boolean | if true, do not redraw a picture yet |
removes a shape from the list