noop if not using a two cell anchor
 @param [Integer] x The column
 @param [Integer] y The row
 @return [Marker]
193390
def end_at(x, y=nil)
      use_two_cell_anchor unless @anchor.is_a?(TwoCellAnchor)
      @anchor.end_at x, y
      @anchor.to
    end
899841
def zero?(x, y=nil)
      x.zero? || x.abs < value(y || x)
    end
138939
function (x, y) {
            var _x = this.pos.x;
            var _y = this.pos.y;

            this.pos.x = me.Math.clamp(
                x,
                this.bounds.pos.x,
                this.bounds.width - this.width
            );
            this.pos.y = me.Math.clamp(
                y,
                this.bounds.pos.y,
                this.bounds.height - this.height
            );

            //publish the VIEWPORT_ONCHANGE event if necessary
            if (_x !== this.pos.x || _y !== this.pos.y) {
                me.event.publish(me.event.VIEWPORT_ONCHANGE, [this.pos]);
            }
        }
1140846
def show_yticklabels_for_all(self, row_column_list=None):
        
        if row_column_list is None:
            for subplot in self.subplots:
                subplot.show_yticklabels()
        else:
            for row, column in row_column_list:
                self.show_yticklabels(row, column)
450702
public void addPointToTail( int x , int y ) {
		int index = tail.start + tail.length*2;

		int block[];
		int blockIndex = tail.block + index/blockLength;
		if( blockIndex == blocks.size ) {
			tailBlockSize = 0;
			block = blocks.grow();
		} else {
			block = blocks.get( blockIndex );
		}
		tailBlockSize += 2;
		index %= blockLength;

		block[index ] = x;
		block[index+1 ] = y;
		tail.length += 1;
	}
529763
@Deprecated
	public CellStyle createStyleForCell(int x, int y) {
		final Cell cell = getOrCreateCell(x, y);
		final CellStyle cellStyle = this.workbook.createCellStyle();
		cell.setCellStyle(cellStyle);
		return cellStyle;
	}
1371535
def column(x)
      assert_x!(x)
      (0...height).inject([]) { |pixels, y| pixels << get_pixel(x, y) }
    end
315653
public void drawMarker(final double x, final double y) {
    	
    	//System.out.println("Add Dock Marker on => " + model().key());
    	
    	overlay.setVisible(true);
    	double space = 5.0;

		if (x > PARENT && x < node().getWidth() / 3 || x < node().getWidth() - PARENT && x > node().getWidth() * 2 / 3) {
			// left right
			r1.setLayoutX(5);
			r1.setLayoutY(5);
			r1.setWidth((overlay.getWidth() - space * 3) / 2);
			r1.setHeight((overlay.getHeight() - space * 2) / 1);

			r2.setLayoutX(overlay.getWidth() / 2 + space / 2);
			r2.setLayoutY(5);
			r2.setWidth((overlay.getWidth() - space * 3) / 2);
			r2.setHeight((overlay.getHeight() - space * 2 / 1));
			
			if (x < node().getWidth() / 3) {
				r1.setStrokeWidth(4.0);
				r2.setStrokeWidth(2.0);
			}else{
				r1.setStrokeWidth(2.0);
				r2.setStrokeWidth(4.0);
			}

		} else if (y > PARENT && y < node().getHeight() / 3 || y < node().getHeight() - PARENT && y > node().getHeight() * 2 / 3) {
			// topbottom
			r1.setLayoutX(5);
			r1.setLayoutY(5);
			r1.setWidth((overlay.getWidth() - space * 2) / 1);
			r1.setHeight((overlay.getHeight() - space * 3) / 2);

			r2.setLayoutX(5);
			r2.setLayoutY(overlay.getHeight() / 2 + space / 2);
			r2.setWidth((overlay.getWidth() - space * 2) / 1);
			r2.setHeight((overlay.getHeight() - space * 3) / 2);
			
			if (y < node().getHeight() / 3) {
				r1.setStrokeWidth(4.0);
				r2.setStrokeWidth(2.0);
			}else{
				r1.setStrokeWidth(2.0);
				r2.setStrokeWidth(4.0);
			}

		}
    	
//    	
//    	GridPane gp = new GridPane();
//    	gp.setHgap(5);
//    	gp.setVgap(5);
//    	
//    	Rectangle r1 = new Rectangle();
//    	
//    	GridPane.setRowIndex(r1, 0);
//        GridPane.setColumnIndex(r1, 0);
//        GridPane.setMargin(r1, new Insets(10));
//        
//        Rectangle r2 = new Rectangle();
//    	
//    	GridPane.setRowIndex(r2, 1);
//        GridPane.setColumnIndex(r1, 0);
//        GridPane.setMargin(r2, new Insets(10));
//        
//        gp.getChildren().addAll(r1, r2);
//        
//    	node().getChildren().add(gp);

//        final int draggedIdx = getBox().getChildren().indexOf(dragged);
//        final int markerIdx = getBox().getChildren().indexOf(this.marker);
//
//        int idx = 0;
//        Node tempHoverNode = null;
//        final int xx = 0;
//        for (final Node n : getBox().getChildren()) {
//
//            if (n.getBoundsInParent().contains(x, y)) {
//                tempHoverNode = n;
//                break;
//            }
//
//            if (n != this.marker) {
//                idx++;
//            }
//        }
//
//        if (tempHoverNode == this.hoverNode) {
//            return;
//        } else {
//            this.hoverNode = tempHoverNode;
//        }
//
//        System.out.println("marker" + markerIdx + "  idx " + idx);
//        if (markerIdx != idx) {
//
//            if (this.marker != null) {
//                getBox().getChildren().remove(this.marker);
//            }
//
//            if (draggedIdx != idx) {
//                this.marker = model().object().orientation() == TabbedPaneOrientation.bottom || model().object().orientation() == TabbedPaneOrientation.top ? new Rectangle(10, getBox().getHeight())
//                        : new Rectangle(getBox().getWidth(), 4);
//
//                this.marker.setFill(Color.LIGHTGREEN);
//
//                getBox().getChildren().add(idx, this.marker);
//            }
//        }

    }
794288
def draw_line(x1, y1, x2, y2)
      @context.drawLine(x1, y1, x2, y2)
    end
571797
function (x, y) {
        var self = this;

        // TODO: Move this to some global class
        function constrain(value, max, size) {
          if (value < 0) {
            return 0;
          }

          if (value + size > max) {
            value = max - size;
            return value < 0 ? 0 : value;
          }

          return value;
        }

        if (self.settings.constrainToViewport) {
          var viewPortRect = DomUtils.getViewPort(window);
          var layoutRect = self.layoutRect();

          x = constrain(x, viewPortRect.w + viewPortRect.x, layoutRect.w);
          y = constrain(y, viewPortRect.h + viewPortRect.y, layoutRect.h);
        }

        if (self.state.get('rendered')) {
          self.layoutRect({ x: x, y: y }).repaint();
        } else {
          self.settings.x = x;
          self.settings.y = y;
        }

        self.fire('move', { x: x, y: y });

        return self;
      }
36501
def unpivot_frame(frame, x=None, y=None,
                  var_name='variable', value_name='value'):
    
    if x is None:
        cols = frame.columns
        frame = frame.reset_index()
        x = (set(frame.columns) - set(cols)).pop()
    # frame.melt doesn't properly check for nonexisting columns, so we
    # start by indexing here. Tuples of column names also need to be
    # converted to lists for checking indexing
    if isinstance(x, tuple):
        x = list(x)
    if isinstance(y, tuple):
        y = list(y)
    if x is not None:
        _ = frame[x] # noqa
    if y is not None:
        _ = frame[y] # noqa
    return frame.melt(id_vars=x, value_vars=y,
                      var_name=var_name, value_name=value_name)
219575
def assert_xy!(x, y)
      unless include_xy?(x, y)
        raise ChunkyPNG::OutOfBounds, "Coordinates (#{x},#{y}) out of bounds!"
      end
      true
    end
1187366
function( x, y ) {
		if( !this.header._canDestroy )
			return null;
		if( this.contentItem.parent.isMaximised === true ) {
			this.contentItem.parent.toggleMaximise();
		}
		new lm.controls.DragProxy(
			x,
			y,
			this._dragListener,
			this._layoutManager,
			this.contentItem,
			this.header.parent
		);
	}
1081738
public void show(int x, int y) {
        disabledHLayout.setSize("100%", "100%");
        disabledHLayout.setStyleName("disabledBackgroundStyle");
        disabledHLayout.show();

        loadingImg.setSize("100px", "100px");
        loadingImg.setTop(y); //loading image height is 50px
        loadingImg.setLeft(x); //loading image width is 50px
        loadingImg.show();
        loadingImg.bringToFront();
    }
1070514
def click(self, x, y):
        '''
        
        '''
        self._run_nowait('target.tap({x: %d, y: %d})' % (x/self._scale, y/self._scale))
        return self
488034
function insidePoint(element, x, y) {
        let offset = element.offset();
        if (x < offset.left || offset.left + element.outerWidth(true) < x)
          return false;
        if (y < offset.top || offset.top + element.outerHeight(true) < y)
          return false;
        return true;
      }
679382
def click_at_coordinates(self, x, y):
        
        self.device.click(int(x), int(y))