Extends mxActor to implement a cloud shape.
This shape is registered under mxConstants.SHAPE_CLOUD in mxCellRenderer.
mxCloud | Extends mxActor to implement a cloud shape. |
Functions | |
mxCloud | Constructs a new cloud shape. |
redrawPath | Draws the path for this shape. |
function mxCloud( bounds, fill, stroke, strokewidth )
Constructs a new cloud 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 cloud shape.
function mxCloud( bounds, fill, stroke, strokewidth )
Draws the path for this shape.
mxCloud.prototype.redrawPath = function( c, x, y, w, h )
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Holds the mxRectangle that specifies the bounds of this shape.
mxShape.prototype.bounds