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. |
paintVertexShape | Paints the ellipse shape. |
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 )
Paints the ellipse shape.
mxEllipse.prototype.paintVertexShape = function( c, x, y, w, h )
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Holds the mxRectangle that specifies the bounds of this shape.
mxShape.prototype.bounds