Reputation: 1
I'm using Canvas(from tkinter import *
) to creating a polygon and want to set the polygon's alpha is 0.5,
what should i do?
self.cv = Canvas(root, width=self.width, height=self.height, bg='green')
self.cv.create_polygon(0, 0, 100, 100, 0, 100, fill='gold',tags = 'POLYGON')
Upvotes: 0
Views: 33
Reputation: 386352
There is nothing you can do. The tkinter canvas doesn't support alpha channels.
Upvotes: 1