Shift the points at the given indices by delta (used by rubber-banding).
(self, indices: set[int], delta: QPointF)
| 216 | self._rebuild() |
| 217 | |
| 218 | def move_points(self, indices: set[int], delta: QPointF) -> None: |
| 219 | """Shift the points at the given indices by delta (used by rubber-banding).""" |
| 220 | for i in indices: |
| 221 | self.points[i] = self.points[i] + delta |
| 222 | self._rebuild() |
| 223 | |
| 224 | # ── visuals ─────────────────────────────────────────────────────────────── |
| 225 |
no test coverage detected