Advertisement
Enrro

Circulo blanco y circulo gris

Aug 27th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. '''
  2. Created on 27/08/2014
  3. Lineas de interseccion roja,azul,amarillo
  4. @author: A01221672
  5. '''
  6. from Tkinter import*
  7.  
  8. ancho=278
  9. alto=375
  10. ventana = Tk()
  11. lienzo =Canvas(ventana, width= ancho, height=alto)
  12. lienzo.pack()
  13.  
  14. lienzo.create_rectangle(0,0,ancho,alto, fill ="#826f51", width=0)
  15. lienzo.create_arc(240,358,40,190,start=180,extent=180,fill= "#eeedf2", width=0, style="chord", outline="#eeedf2") #circulo gris
  16. lienzo.create_arc(70,77,205,305,start=270,extent=180,fill= "#1e1e26", width=0, style="chord", outline="#1e1e26") #circulo negro
  17.  
  18.  
  19. mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement