code: function(r,rectMode){
  		if(rectMode === undefined){
  			rectMode = this.app.CORNER;
  		}
  		if(rectMode === this.app.CORNER){
  			this.gfx.rect(r.x,r.y,r.width,r.height);
  		} else if(rectMode === this.app.CORNERS){
  			this.gfx.rect(r.x,r.y,r.x+r.width,r.y+r.height);
  		} else if(rectMode === this.app.CENTER){
  			this.gfx.rect(r.x+r.widt*0.5,r.y+r.height*0.5,r.width,r.height);
  		} else if(rectMode === this.app.RADIUS){
  			var rw = r.width * 0.5,
  				rh = r.height *0.5;
  			this.gfx.rect(r.x+rw,r.y+rh,rw,rh);
  		}
  	}
docs: /*
  Pjs currently doesn't provide access to PGraphics properties,
  such as rectMode. So I am allowing it as an optional propery