constructor_1(image, topLeft, bottomLeft, topRight, bottomRight) {
			const leftUnspecified = topLeft == null || bottomLeft == null;
			const rightUnspecified = topRight == null || bottomRight == null;
			if (leftUnspecified && rightUnspecified) {
				throw new NotFoundException();
			}
			if (leftUnspecified) {
				topLeft = new ResultPoint(0, topRight.getY());
				bottomLeft = new ResultPoint(0, bottomRight.getY());
			}
			else if (rightUnspecified) {
				topRight = new ResultPoint(image.getWidth() - 1, topLeft.getY());
				bottomRight = new ResultPoint(image.getWidth() - 1, bottomLeft.getY());
			}
			this.image = image;
			this.topLeft = topLeft;
			this.bottomLeft = bottomLeft;
			this.topRight = topRight;
			this.bottomRight = bottomRight;
			this.minX = Math.trunc(Math.min(topLeft.getX(), bottomLeft.getX()));
			this.maxX = Math.trunc(Math.max(topRight.getX(), bottomRight.getX()));
			this.minY = Math.trunc(Math.min(topLeft.getY(), topRight.getY()));
			this.maxY = Math.trunc(Math.max(bottomLeft.getY(), bottomRight.getY()));
		}
@param image
@param topLeft
@param bottomLeft
@param topRight
@param bottomRight

@throws NotFoundException