points[1] = new ResultPoint(width - points[1].getX() - 1, points[1].getY());