Creates a rectangle from origin and size points.
factory PdfRect.fromPoints(PdfPoint offset, PdfPoint size) { return PdfRect(offset.x, offset.y, size.x, size.y); }