Initializes a new instance of the PdfRectangle struct from two diagonally opposite corners, in any order.
public PdfRectangle(double x1, double y1, double x2, double y2)
The x coordinate of one corner.
The y coordinate of the same corner.
The x coordinate of the opposite corner.
The y coordinate of the opposite corner.