seFloat(mxUtils.getValue(this.state.style, 'pos1', MyShape.prototype.defaultPos1))));

					return new mxPoint(bounds.getCenterX(), bounds.y + pos1);
				};
				
				firstHandle.setPosition = function(bounds, pt)
				{
					var pos2 = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, 'pos2', MyShape.prototype.defaultPos2))));
					
					this.state.style['pos1'] = Math.round(Math.max(0, Math.min(pos2, pt.y - bounds.y)));
				};
				
				firstHandle.execute = function()
				{
	