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

Method __neg__

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

Source from the content-addressed store, hash-verified

17244 return Rect.__mul__(self, m).round()
17245
17246 def __neg__(self):
17247 return IRect(-self.x0, -self.y0, -self.x1, -self.y1)
17248
17249 def __or__(self, x):
17250 return Rect.__or__(self, x).round()

Callers

nothing calls this directly

Calls 1

IRectClass · 0.85

Tested by

no test coverage detected