Move circle or arc in clock by delta x, delta y
(self, delta_x, delta_y)
| 97 | self.figure.append(self.graph_elem.DrawArc((x - r, y + r), (x + r, y - r), stop - start, start, style='arc', arc_color=fill)) |
| 98 | |
| 99 | def move(self, delta_x, delta_y): |
| 100 | """ |
| 101 | Move circle or arc in clock by delta x, delta y |
| 102 | """ |
| 103 | if False in Gauge.mapping(isinstance, [delta_x, delta_y], (int, float)): |
| 104 | raise ValueError |
| 105 | self.all[0] += delta_x |
| 106 | self.all[1] += delta_y |
| 107 | for figure in self.figure: |
| 108 | self.graph_elem.MoveFigure(figure, delta_x, delta_y) |
| 109 | |
| 110 | class Pointer(): |
| 111 | """ |