Remove from the Graph the figure represented by id. The id is given to you anytime you call a drawing primitive :param id: the id returned to you when calling one of the drawing methods :type id: (int)
(self, id)
| 6601 | pass |
| 6602 | |
| 6603 | def delete_figure(self, id): |
| 6604 | """ |
| 6605 | Remove from the Graph the figure represented by id. The id is given to you anytime you call a drawing primitive |
| 6606 | |
| 6607 | :param id: the id returned to you when calling one of the drawing methods |
| 6608 | :type id: (int) |
| 6609 | """ |
| 6610 | try: |
| 6611 | self._TKCanvas2.delete(id) |
| 6612 | except: |
| 6613 | print('DeleteFigure - bad ID {}'.format(id)) |
| 6614 | try: |
| 6615 | del self.Images[id] # in case was an image. If wasn't an image, then will get exception |
| 6616 | except: |
| 6617 | pass |
| 6618 | |
| 6619 | def update(self, background_color=None, visible=None): |
| 6620 | """ |
no outgoing calls
no test coverage detected