Deletes an "object" (line, triangle, image, etc) from the drawing.

        :param int id:
            The id of the object.

def delete(self, id):
        """
        Deletes an "object" (line, triangle, image, etc) from the drawing.

        :param int id:
            The id of the object.
        """
        if id in self._images.keys():
            del self._images[id]
        self.tk.delete(id)