MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / _bbox

Method _bbox

src/__init__.py:16743–16746  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16741
16742 @property
16743 def _bbox(self):
16744 val = JM_py_from_rect( mupdf.fz_bound_text( self.this, mupdf.FzStrokeState(None), mupdf.FzMatrix()))
16745 val = Rect(val)
16746 return val
16747
16748 def append(self, pos, text, font=None, fontsize=11, language=None, right_to_left=0, small_caps=0):
16749 """Store 'text' at point 'pos' using 'font' and 'fontsize'."""

Callers

nothing calls this directly

Calls 2

JM_py_from_rectFunction · 0.85
RectClass · 0.85

Tested by

no test coverage detected