function mxRhombus(bounds, fill, stroke, strokewidth)
{
	mxShape.call(this);
	this.bounds = bounds;
	this.fill = fill;
	this.stroke = stroke;
	this.strokewidth = (strokewidth != null) ? strokewidth : 1;
}
function mxRhombus(bounds, fill, stroke, strokewidth)
{
	mxShape.call(this);
	this.bounds = bounds;
	this.fill = fill;
	this.stroke = stroke;
	this.strokewidth = (strokewidth != null) ? strokewidth : 1;
}
function mxRhombus ( 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: mxRhombus

Extends <mxShape> to implement a rhombus (aka diamond) shape.
This shape is registered under <mxConstants.SHAPE_RHOMBUS>
in <mxCellRenderer>.

Constructor: mxRhombus

Constructs a new rhombus 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 : mxRhombus
This class represents a rhombus shape.