dojox/gfx/svg_attach.Container (version 1.10)

See the dojox/gfx/svg_attach.Container reference documentation for more information.

Method Summary

  • _moveChildToBack(shape) moves a shape to back of the list of shapes
  • _moveChildToFront(shape) moves a shape to front of the list of shapes
  • add(shape) adds a shape to a group/surface
  • clear() removes all shapes from a group/surface
  • closeBatch() submits the current batch, append all pending child shapes to DOM
  • getBoundingBox() Returns the bounding box Rectangle for this shape.
  • openBatch() starts a new batch, subsequent new child shapes will be held in the batch instead of appending to the container directly
  • remove(shape,silently) remove a shape from a group/surface

Methods

_moveChildToBack(shape)
Defined by dojox/gfx/svg

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

Returns:function

moves a shape to back of the list of shapes

_moveChildToFront(shape)
Defined by dojox/gfx/svg

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

Returns:function

moves a shape to front of the list of shapes

add(shape)
Defined by dojox/gfx/svg

adds a shape to a group/surface

Parameter Type Description
shape dojox/gfx/shape.Shape

an VML shape object

Returns:function

adds a shape to a group/surface

clear()
Defined by dojox/gfx/svg

removes all shapes from a group/surface

Returns:undefined
closeBatch()
Defined by dojox/gfx/svg

submits the current batch, append all pending child shapes to DOM

Returns:function

submits the current batch, append all pending child shapes to DOM

getBoundingBox()
Defined by dojox/gfx/svg

Returns the bounding box Rectangle for this shape.

Returns:null
openBatch()
Defined by dojox/gfx/svg

starts a new batch, subsequent new child shapes will be held in the batch instead of appending to the container directly

Returns:function

starts a new batch, subsequent new child shapes will be held in the batch instead of appending to the container directly

remove(shape,silently)
Defined by dojox/gfx/svg

remove a shape from a group/surface

Parameter Type Description
shape dojox/gfx/shape.Shape

an VML shape object

silently Boolean
Optional

if true, regenerate a picture

Returns:function

remove a shape from a group/surface

Error in the documentation? Can’t find what you are looking for? Let us know!