mxCloud

Extends mxActor to implement a cloud shape.

This shape is registered under mxConstants.SHAPE_CLOUD in mxCellRenderer.

Summary
mxCloudExtends mxActor to implement a cloud shape.
Functions
mxCloudConstructs a new cloud shape.
redrawPathDraws the path for this shape.

Functions

mxCloud

function mxCloud(bounds,
fill,
stroke,
strokewidth)

Constructs a new cloud 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>.

redrawPath

mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)

Draws the path for this shape.

Extends mxShape to implement an actor shape.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
Name under which mxCloud 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