Extends mxShape to implement an ellipse shape. This shape is registered under mxConstants.SHAPE_ELLIPSE in mxCellRenderer.
mxEllipse | Extends mxShape to implement an ellipse shape. |
Functions | |
mxEllipse | Constructs a new ellipse shape. |
Variables | |
mixedModeHtml | Overrides the parent value with false, meaning it will draw in VML in mixed Html mode. |
preferModeHtml | Overrides the parent value with false, meaning it will draw as VML in prefer Html mode. |
Functions | |
createVml | Creates and returns the VML node to represent this shape. |
createSvg | Creates and returns the SVG node(s) to represent this shape. |
redrawSvg | Updates the SVG node(s) to reflect the latest bounds and scale. |
updateSvgNode | Updates the given node to reflect the new <bounds> and <scale>. |
function mxEllipse( bounds, fill, stroke, strokewidth )
Constructs a new ellipse shape.
bounds | mxRectangle that defines the bounds. This is stored in mxShape.bounds. |
fill | String that defines the fill color. This is stored in <fill>. |
stroke | String that defines the stroke color. This is stored in <stroke>. |
strokewidth | Optional integer that defines the stroke width. Default is 1. This is stored in <strokewidth>. |
Constructs a new ellipse shape.
function mxEllipse( bounds, fill, stroke, strokewidth )
Overrides the parent value with false, meaning it will draw in VML in mixed Html mode.
mxEllipse.prototype.mixedModeHtml
Overrides the parent value with false, meaning it will draw as VML in prefer Html mode.
mxEllipse.prototype.preferModeHtml
Creates and returns the VML node to represent this shape.
mxEllipse.prototype.createVml = function()
Creates and returns the SVG node(s) to represent this shape.
mxEllipse.prototype.createSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxEllipse.prototype.redrawSvg = function()
Updates the given node to reflect the new bounds and scale.
mxEllipse.prototype.updateSvgNode = function( node )
Holds the mxRectangle that specifies the bounds of this shape.
mxShape.prototype.bounds