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.
paintVertexShapePaints the ellipse shape.

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>.

paintVertexShape

mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)

Paints the ellipse shape.

Base class for all shapes.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
SHAPE_ELLIPSE: 'ellipse'
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