Lines Matching refs:x
249 ui.hoverIcons.getStateAt = function(state, x, y) argument
251 return (isTreeCell(state.cell)) ? null : this.graph.view.getState(this.graph.getCellAt(x, y));
479 if (pt.y == state.y && Math.abs(pt.x - state.getCenterX()) < state.width / 2)
483 … else if (pt.y == state.y + state.height && Math.abs(pt.x - state.getCenterX()) < state.width / 2)
487 else if (pt.x > state.getCenterX())
515 clones[1].geometry.x += (after) ? cell.geometry.width + spacing :
526 clones[1].geometry.x = cell.geometry.x + cell.geometry.width - clones[1].geometry.width;
540 bbox.x += ((after) ? cell.geometry.width + spacing :
572 dx = spacing + Math.max(dx, (Math.min(bbox.x + bbox.width,
573 sibling.x + sibling.width) - Math.max(bbox.x, sibling.x)) / s);
723 clones[1].geometry.x = (bbox == null) ? cell.geometry.x + (cell.geometry.width -
724 clones[1].geometry.width) / 2 : (bbox.x + bbox.width) / s - tr.x + spacing;
729 clones[1].geometry.x = (bbox == null) ? cell.geometry.x + (cell.geometry.width -
730 clones[1].geometry.width) / 2 : (bbox.x + bbox.width) / s - tr.x + spacing;
735 clones[1].geometry.x -= clones[1].geometry.width + level;
741 clones[1].geometry.x += cell.geometry.width + level;
766 if (temp != null && ((!horizontal && (Math.min(temp.x + temp.width,
767 state.x + state.width) >= Math.max(temp.x, state.x))) ||
777 return (horizontal) ? a.x + a.width - b.x - b.width : a.y + a.height - b.y - b.height;