function mxActor(bounds, fill, stroke, strokewidth)
{
	mxShape.call(this);
	this.bounds = bounds;
	this.fill = fill;
	this.stroke = stroke;
	this.strokewidth = (strokewidth != null) ? strokewidth : 1;
}
function mxActor(bounds, fill, stroke, strokewidth)
{
	mxShape.call(this);
	this.bounds = bounds;
	this.fill = fill;
	this.stroke = stroke;
	this.strokewidth = (strokewidth != null) ? strokewidth : 1;
}
function mxActor ( bounds , fill , stroke , strokewidth ) { mxShape . call ( this ) ; this . bounds = bounds ; this . fill = fill ; this . stroke = stroke ; this . strokewidth = ( strokewidth != null ) ? strokewidth : 1 ; }
Copyright (c) 2006-2015, JGraph Ltd
Copyright (c) 2006-2015, Gaudenz Alder
 
Class: mxActor

Extends <mxShape> to implement an actor shape. If a custom shape with one
filled area is needed, then this shape's <redrawPath> should be overridden.

Example:

(code)
function SampleShape() { }

SampleShape.prototype = new mxActor();
SampleShape.prototype.constructor = vsAseShape;

mxCellRenderer.registerShape('sample', SampleShape);
SampleShape.prototype.redrawPath = function(path, x, y, w, h)
{
path.moveTo(0, 0);
path.lineTo(w, h);
// ...
path.close();
}
(end)

This shape is registered under <mxConstants.SHAPE_ACTOR> in
<mxCellRenderer>.

Constructor: mxActor

Constructs a new actor shape.

Parameters:

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>.
Copyright ( c ) 2006 - 2015 JGraph Ltd Copyright ( c ) 2006 - 2015 Gaudenz Alder Class : mxActor
A mxActor is a base class for all actors