public boolean intersects (Rectangle rect) { if (rect == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); return (rect == this) || (rect.x < x + width) && (rect.y < y + height) && (rect.x + rect.width > x) && (rect.y + rect.height > y);
public boolean intersects (int x, int y, int width, int height) { return (x < this.x + this.width) && (y < this.y + this.height) && (x + width > this.x) && (y + height > this.y);
public boolean intersects (Rectangle rect) {	if (rect == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);	return (rect == this) || (rect.x < x + width) && (rect.y < y + height) &&		(rect.x + rect.width > x) && (rect.y + rect.height > y);}