factory PdfRect.fromPoints(PdfPoint offset, PdfPoint size) { return PdfRect(offset.x, offset.y, size.x, size.y); }