bpmnGatewayParallel=function(width,_30ab){ VectorFigure.call(this); this.stroke =1; }; bpmnGatewayParallel.prototype=new VectorFigure; bpmnGatewayParallel.prototype.type="bpmnGatewayParallel"; bpmnGatewayParallel.prototype.paint=function(){ VectorFigure.prototype.paint.call(this); if(typeof workflow.zoomfactor == 'undefined') workflow.zoomfactor = 1; //Set the Task Limitation if(typeof this.limitFlag == 'undefined' || this.limitFlag == false) { this.originalWidth = 40; this.originalHeight = 40; this.orgXPos = this.getX(); this.orgYPos = this.getY(); this.orgFontSize =this.fontSize; } this.width = this.originalWidth * workflow.zoomfactor; this.height = this.originalHeight * workflow.zoomfactor; var cw = this.getWidth(); var ch = this.getHeight(); var x=new Array(0,cw*0.5,cw,cw*0.5); var y=new Array(ch*0.5,ch,ch*0.5,0); //var x=new Array(0,this.width/2,this.width,this.width/2); //var y=new Array(this.height/2,this.height,this.height/2,0); var x2 = new Array(); var y2 = new Array(); for(var i=0;i