(self, idx: int, pt: QPointF)
| 212 | return seg_idx + 1 |
| 213 | |
| 214 | def move_vertex(self, idx: int, pt: QPointF) -> None: |
| 215 | self.points[idx] = pt |
| 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).""" |
no test coverage detected