I'm creating a GUI that uses the Tkinter Canvas widget to allow a user to draw a line over an image. I would like to convert that line object to a list of points that make up that line. I'm able to get the coordinates and bounding box and other things described under the documentation, but I wasn't able to find the answer to this.

As an example, if I had a line that started at point `(0,0)` and ended at `(3,3)`, I would like a list that includes points `[(0,0), (1,1), (2,2), (3,3)]` 

Any help is greatly appreciated.