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

Method bleedbox

src/__init__.py:10817–10823  ·  view source on GitHub ↗

The BleedBox

(self)

Source from the content-addressed store, hash-verified

10815
10816 @property
10817 def bleedbox(self):
10818 """The BleedBox"""
10819 rect = self._other_box("BleedBox")
10820 if rect is None:
10821 return self.cropbox
10822 mb = self.mediabox
10823 return Rect(rect[0], mb.y1 - rect[3], rect[2], mb.y1 - rect[1])
10824
10825 def bound(self):
10826 """Get page rectangle."""

Callers

nothing calls this directly

Calls 2

_other_boxMethod · 0.95
RectClass · 0.85

Tested by

no test coverage detected