Description of the bug
The IRect contains method seems to be absent.
How to reproduce the bug
I'm doing:
import pymupdf
irectA = pymupdf.IRect(0,0,100,100)
irectB = pymupdf.IRect(150,150,100,100)
contains = irectA.contains(irectB)
print(f"contains={contains}")
But it has an error with: AttributeError: 'IRect' object has no attribute 'contains'
PyMuPDF version
1.26.1
Operating system
MacOS
Python version
3.13
Description of the bug
The IRect
containsmethod seems to be absent.How to reproduce the bug
I'm doing:
But it has an error with:
AttributeError: 'IRect' object has no attribute 'contains'PyMuPDF version
1.26.1
Operating system
MacOS
Python version
3.13