dojox.gfx.vml.Container.add
dojo.require("dojox.gfx.vml");
defined in dojox/gfx/vml.js
adds a shape to a group/surface
parameter | type | description |
---|
shape | dojox.gfx.Shape | an VML shape object
a Shape object, which knows how to apply graphical attributes and transformationsfield | type | description |
---|
.applyLeftTransform | Function | multiplies the existing matrix with an argument on left side (matrix * this.matrix) | .applyRightTransform | Function | multiplies the existing matrix with an argument on right side (this.matrix * matrix) | .applyTransform | Function | a shortcut for dojox.gfx.Shape.applyRightTransform | .bbox | | | .fillStyle | | | .fillStyle.type | | | .getBoundingBox | Function | returns the bounding box or null (see dojox.gfx.defaultRect) | .getEventSource | Function | returns a Node, which is used as a source of events for this shape | .getFill | Function | returns the current fill object or null (see dojox.gfx.defaultLinearGradient, dojox.gfx.defaultRadialGradient, dojox.gfx.defaultPattern, or dojo.Color) | .getNode | Function | returns the current DOM Node or null | .getParent | Function | returns the parent or null (see dojox.gfx.Surface, dojox.gfx.shape.VirtualGroup, or dojox.gfx.Group) | .getShape | Function | returns the current shape object or null (see dojox.gfx.defaultPath, dojox.gfx.defaultPolyline, dojox.gfx.defaultRect, dojox.gfx.defaultEllipse, dojox.gfx.defaultCircle, dojox.gfx.defaultLine, or dojox.gfx.defaultImage) | .getStroke | Function | returns the current stroke object or null (see dojox.gfx.defaultStroke) | .getTransform | Function | returns the current transformation matrix or null | .getTransformedBoundingBox | Function | returns an array of four points or null four points represent four corners of the untransformed bounding box | .matrix | | | .moveToBack | Function | moves a shape to back of its parent's list of shapes | .moveToFront | Function | moves a shape to front of its parent's list of shapes | .parent | | | .parentMatrix | | | .rawNode | | | .rawNode.fill | | | .rawNode.fill.method | | | .rawNode.fill.opacity | | | .rawNode.fill.type | | | .rawNode.fillcolor | | | .rawNode.filled | | | .rawNode.stroked | | | .removeShape | Function | removes the shape from its parent's list of shapes | .setFill | Function | sets a fill object (VML) | .setRawNode | Function | assigns and clears the underlying node that will represent this shape. Once set, transforms, gradients, etc, can be applied. (no fill & stroke by default) | .setShape | Function | sets a shape object (SVG) | .setStroke | Function | sets a stroke object (VML) | .setTransform | Function | sets a transformation matrix | .shape | | | .strokeStyle | | | ._applyTransform | Function | | ._capMap | Object | | ._capMapReversed | Object | | ._getParentSurface | Function | | ._getRealMatrix | Function | returns the cumulative ("real") transformation matrix by combining the shape's matrix with its parent's matrix | ._moveToBack | Function | moves a shape to back of its parent's list of shapes (VML) | ._moveToFront | Function | moves a shape to front of its parent's list of shapes (VML) | ._setFillAttr | Function | | ._setFillObject | Function | | ._setParent | Function | sets a parent | ._translate | Function | | ._updateParentMatrix | Function | updates the parent matrix with new matrix |
|