API reference
Geometry
API for the Point, Rect, IRect, Matrix, and Quad value types that mirror PyMuPDF geometry arithmetic.
The geometry value types mirror PyMuPDF 1.24.x arithmetic exactly. They
behave as sequences (r[0], tuple(r), unpacking), so code that reads
page.rect works unchanged. The coordinate space is top-left origin, y-down;
distances are in points (1/72 inch) unless a unit is given.
Point
Full API for
pdfspine.Point — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.Rect
Full API for
pdfspine.Rect — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.IRect
Full API for
pdfspine.IRect — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.Matrix
Full API for
pdfspine.Matrix — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.Quad
Full API for
pdfspine.Quad — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.