Python Forum

Full Version: how to rotate lines in tkinter canvas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So i am working on a project where i need to rotate lines placed in tkinter canvas to link them to circles. So like two circles have to be linked together using a line.
I do not understand your question. canvas.create_line draws a line between two points. If the two points are the center of two circles, the line will link the two circles.

When you say "need to rotate lines" do you mean that the circles are moving and the lines must also move? To do that I would delete the old line and create a new one.