Definition Create the polygon with the points, x1,y1,x2,y2, xn,yn. Syntax tkinter.Canvas.create_polygon() Canvas.create_polygon() Examples The tkinter.Canvas create polygon method is used to create the random polygon point values and color is filled through random.sample method.
|