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

Method artbox

src/__init__.py:10808–10814  ·  view source on GitHub ↗

The ArtBox

(self)

Source from the content-addressed store, hash-verified

10806
10807 @property
10808 def artbox(self):
10809 """The ArtBox"""
10810 rect = self._other_box("ArtBox")
10811 if rect is None:
10812 return self.cropbox
10813 mb = self.mediabox
10814 return Rect(rect[0], mb.y1 - rect[3], rect[2], mb.y1 - rect[1])
10815
10816 @property
10817 def bleedbox(self):

Callers

nothing calls this directly

Calls 2

_other_boxMethod · 0.95
RectClass · 0.85

Tested by

no test coverage detected