Returns a list of figures located at a particular x,y location within the Graph :param location: point to check :type location: (int, int) | Tuple[float, float] :return: a list of previously drawn "Figures" (returned from the drawing primitives) :rt
(self, location)
| 6728 | self.TKCanvas.tag_raise(figure) # move figure to the "top" of all other figures |
| 6729 | |
| 6730 | def get_figures_at_location(self, location): |
| 6731 | """ |
| 6732 | Returns a list of figures located at a particular x,y location within the Graph |
| 6733 | |
| 6734 | :param location: point to check |
| 6735 | :type location: (int, int) | Tuple[float, float] |
| 6736 | :return: a list of previously drawn "Figures" (returned from the drawing primitives) |
| 6737 | :rtype: List[int] |
| 6738 | """ |
| 6739 | x, y = self._convert_xy_to_canvas_xy(location[0], location[1]) |
| 6740 | ids = self.TKCanvas.find_overlapping(x, y, x, y) |
| 6741 | return ids |
| 6742 | |
| 6743 | def get_bounding_box(self, figure): |
| 6744 | """ |
no test coverage detected