MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / shape

Method shape

SLiCAP/schematic/model_item.py:80–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 return self._natural_text_rect()
79
80 def shape(self) -> QPainterPath:
81 path = QPainterPath()
82 path.addRect(self.boundingRect())
83 return path
84
85 def _natural_text_rect(self) -> QRectF:
86 hdr_font = QFont(COMP_REFDES_FONT_FAMILY)

Callers

nothing calls this directly

Calls 1

boundingRectMethod · 0.95

Tested by

no test coverage detected