Advertisement
here2share

# Tk_arc_angles.py

Oct 20th, 2016
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. # Tk_arc_angles.py
  2.  
  3. from Tkinter import *
  4. root = Tk()
  5. canvas = Canvas(root, width=240, height=400)
  6. canvas.pack()
  7. canvas.create_arc(40, 10, 200, 80, extent=45, style=ARC)
  8. canvas.create_arc(40, 80, 200, 160, extent=90, style=ARC)
  9. canvas.create_arc(40, 160, 200, 240, extent=135, style=ARC)
  10. canvas.create_arc(40, 240, 200, 320, extent=180, style=ARC)
  11. canvas.create_arc(40, 320, 200, 400, extent=359, style=ARC)###
  12. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement