code: function(x,y) {
        var ctxt = this.getContext();
  	   var imgData = ctxt.getImageData(x,y,1,1);
  	   var pixel = imgData.data;
  	   return !( pixel[0] === 0 && pixel[1] === 0 && pixel[2] === 0 && pixel[3] === 0 );
     }
docs: Determine if the wire is drawn at position (x,y) relative to the canvas element. This is used for mouse events.
  @method wireDrawnAt
  @return {Boolean} true if the wire is drawn at position (x,y) relative to the canvas element