Rectangle
Properties
- xNumber - The x-coordinate of top left point of the rectangle. - DEFAULT: 0 
- yNumber - The y-coordinate of top left point of the rectangle. - DEFAULT: 0 
- widthNumber - The width of rectangle. - DEFAULT: 0 
- heightNumber - The height of rectangle. - DEFAULT: 0 
- radiusNumber - If set a value, the option is the radius of all the rounderd corners. If set a array, the option are in turn the radiuses of top-left corner, top-right corner, bottom-right corner, bottom-left corner. - DEFAULT: 0 
- onClickFunctionoptional - The customized event handler of click on the rectangle 
- onMouseDownFunctionoptional - The customized event handler of mousedown on the rectangle 
- onMouseUpFunctionoptional - The customized event handler of mouseup on the rectangle 
- onMouseMoveFunctionoptional - The customized event handler of mousemove on the rectangle 
- onMouseOverFunctionoptional - The customized event handler of mouseover on the rectangle 
- onMouseOutFunctionoptional - The customized event handler of mouseout on the rectangle 
- onMouseEnterFunctionoptional - The customized event handler of mouseenter on the rectangle 
- onMouseLeaveFunctionoptional - The customized event handler of mouseleave on the rectangle