Position the label at points[0] + label_offset.
(self)
| 146 | self._net_label.setVisible(False) |
| 147 | |
| 148 | def _place_label(self) -> None: |
| 149 | """Position the label at points[0] + label_offset.""" |
| 150 | if self._net_label is None or not self.points: |
| 151 | return |
| 152 | ref = self.points[0] |
| 153 | self._net_label.setPos(ref.x() + self.label_offset.x(), |
| 154 | ref.y() + self.label_offset.y()) |
| 155 | |
| 156 | # ── bounding rect ───────────────────────────────────────────────────────── |
| 157 |
no outgoing calls
no test coverage detected