Line with pattern : Line « 2D « Python






Line with pattern

Line with pattern

from Tkinter import *

root = Tk()
#root.option_readfile('optionDB')
root.title('Canvas')
canvas = Canvas(root, width =400, height=400)
#canvas.create_bitmap(355, 53, bitmap='questhead')
canvas.create_line(105,10,200,105, stipple='questhead')


canvas.pack()
root.mainloop()


           
       








Related examples in the same category

1.Draw a lineDraw a line
2.Draw linesDraw lines
3.Line widthLine width
4.Line colorLine color