mxDoubleEllipse

Extends mxShape to implement a double ellipse shape.  This shape is registered under mxConstants.SHAPE_DOUBLE_ELLIPSE in mxCellRenderer.

Summary
mxDoubleEllipseExtends mxShape to implement a double ellipse shape.
Functions
mxDoubleEllipseConstructs a new ellipse shape.
Variables
vmlNodesAdds local references to mxShape.vmlNodes.
mixedModeHtmlOverrides the parent value with false, meaning it will draw in VML in mixed Html mode.
preferModeHtmlOverrides the parent value with false, meaning it will draw as VML in prefer Html mode.
vmlScaleRenders VML with a scale of 2.
Functions
createVmlCreates and returns the VML node to represent this shape.
redrawVmlUpdates the VML node(s) to reflect the latest bounds and scale.
createSvgCreates and returns the SVG node(s) to represent this shape.
redrawSvgUpdates the SVG node(s) to reflect the latest bounds and scale.
updateSvgNodeUpdates the given node to reflect the new <bounds> and <scale>.

Functions

mxDoubleEllipse

function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)

Constructs a new ellipse shape.

Parameters

boundsmxRectangle that defines the bounds.  This is stored in mxShape.bounds.
fillString that defines the fill color.  This is stored in <fill>.
strokeString that defines the stroke color.  This is stored in <stroke>.
strokewidthOptional integer that defines the stroke width.  Default is 1.  This is stored in <strokewidth>.

Variables

vmlNodes

mxDoubleEllipse.prototype.vmlNodes

Adds local references to mxShape.vmlNodes.

mixedModeHtml

mxDoubleEllipse.prototype.mixedModeHtml

Overrides the parent value with false, meaning it will draw in VML in mixed Html mode.

preferModeHtml

mxDoubleEllipse.prototype.preferModeHtml

Overrides the parent value with false, meaning it will draw as VML in prefer Html mode.

vmlScale

mxDoubleEllipse.prototype.vmlScale

Renders VML with a scale of 2.

Functions

createVml

mxDoubleEllipse.prototype.createVml = function()

Creates and returns the VML node to represent this shape.

redrawVml

mxDoubleEllipse.prototype.redrawVml = function()

Updates the VML node(s) to reflect the latest bounds and scale.

createSvg

mxDoubleEllipse.prototype.createSvg = function()

Creates and returns the SVG node(s) to represent this shape.

redrawSvg

mxDoubleEllipse.prototype.redrawSvg = function()

Updates the SVG node(s) to reflect the latest bounds and scale.

updateSvgNode

mxDoubleEllipse.prototype.updateSvgNode = function(node,
inset)

Updates the given node to reflect the new <bounds> and <scale>.

Base class for all shapes.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
mxDoubleEllipse.prototype.vmlNodes
Adds local references to mxShape.vmlNodes.
mxShape.prototype.vmlNodes
Array if VML node names to fix in IE8 standards mode.
mxDoubleEllipse.prototype.mixedModeHtml
Overrides the parent value with false, meaning it will draw in VML in mixed Html mode.
mxDoubleEllipse.prototype.preferModeHtml
Overrides the parent value with false, meaning it will draw as VML in prefer Html mode.
mxDoubleEllipse.prototype.vmlScale
Renders VML with a scale of 2.
mxDoubleEllipse.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxDoubleEllipse.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
mxDoubleEllipse.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxDoubleEllipse.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxDoubleEllipse.prototype.updateSvgNode = function(node,
inset)
Updates the given node to reflect the new bounds and scale.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Renders cells into a document object model.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Close