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

Method _setBorder

src/__init__.py:8487–8495  ·  view source on GitHub ↗
(self, border, doc, xref)

Source from the content-addressed store, hash-verified

8485 self.thisown = False
8486
8487 def _setBorder(self, border, doc, xref):
8488 pdf = _as_pdf_document(doc, required=0)
8489 if not pdf.m_internal:
8490 return
8491 link_obj = mupdf.pdf_new_indirect(pdf, xref, 0)
8492 if not link_obj.m_internal:
8493 return
8494 b = JM_annot_set_border(border, pdf, link_obj)
8495 return b
8496
8497 @property
8498 def border(self):

Callers 1

set_borderMethod · 0.95

Calls 2

_as_pdf_documentFunction · 0.85
JM_annot_set_borderFunction · 0.85

Tested by

no test coverage detected