How to make a tkinter canvas rectangle transparent?
You can use transparent image to simulate the result. Use Pillow to create transparent image and then use canvas.create_image(…) to draw it. Below is a sample code: from tkinter import * from PIL import Image, ImageTk root = Tk() images = [] # to hold the newly created image def create_rectangle(x1, y1, x2, y2, **kwargs): … Read more