mxEllipse

Extends mxShape to implement an ellipse shape.  This shape is registered under mxConstants.SHAPE_ELLIPSE in mxCellRenderer.

Summary
mxEllipseExtends mxShape to implement an ellipse shape.
Functions
mxEllipseConstructs a new ellipse shape.
Variables
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.
Functions
createVmlCreates and returns the VML node to represent this shape.
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

mxEllipse

function mxEllipse(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

mixedModeHtml

mxEllipse.prototype.mixedModeHtml

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

preferModeHtml

mxEllipse.prototype.preferModeHtml

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

Functions

createVml

mxEllipse.prototype.createVml = function()

Creates and returns the VML node to represent this shape.

createSvg

mxEllipse.prototype.createSvg = function()

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

redrawSvg

mxEllipse.prototype.redrawSvg = function()

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

updateSvgNode

mxEllipse.prototype.updateSvgNode = function(node)

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

Base class for all shapes.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
mxEllipse.prototype.mixedModeHtml
Overrides the parent value with false, meaning it will draw in VML in mixed Html mode.
mxEllipse.prototype.preferModeHtml
Overrides the parent value with false, meaning it will draw as VML in prefer Html mode.
mxEllipse.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxEllipse.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxEllipse.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxEllipse.prototype.updateSvgNode = function(node)
Updates the given node to reflect the new bounds and scale.
Name under which mxEllipse 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