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

Method set_border

src/__init__.py:8583–8586  ·  view source on GitHub ↗
(self, border=None, width=0, dashes=None, style=None)

Source from the content-addressed store, hash-verified

8581 return val
8582
8583 def set_border(self, border=None, width=0, dashes=None, style=None):
8584 if type(border) is not dict:
8585 border = {"width": width, "style": style, "dashes": dashes}
8586 return self._setBorder(border, self.parent.parent.this, self.xref)
8587
8588 def set_colors(self, colors=None, stroke=None, fill=None):
8589 """Set border colors."""

Callers 5

test_freetextFunction · 0.45
test_4254Function · 0.45
annotations-ink.pyFile · 0.45
new-annots.pyFile · 0.45

Calls 1

_setBorderMethod · 0.95

Tested by 2

test_freetextFunction · 0.36
test_4254Function · 0.36