Your IP : 18.217.89.130


Current Path : /usr/lib64/python3.8/turtledemo/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/turtledemo/__pycache__/paint.cpython-38.pyc

U

e5d
�@sHdZddlTddd�Zddd�Zdd�Zed	krDe�Zee�e�d
S)
ap       turtle-example-suite:

            tdemo_paint.py

A simple  event-driven paint program

- left mouse button moves turtle
- middle mouse button changes color
- right mouse button toggles between pen up
(no line drawn when the turtle moves) and
pen down (line is drawn). If pen up follows
at least two pen-down moves, the polygon that
includes the starting point is filled.
 -------------------------------------------
 Play around by clicking into the canvas
 using all three mouse buttons.
 -------------------------------------------
          To exit press STOP button
 -------------------------------------------
�)�*cCs(t�drt�t�nt�t�dS)NZpendown)ZpenZend_fillZupZdownZ
begin_fill��x�y�r�(/usr/lib64/python3.8/turtledemo/paint.py�switchupdowns

rcCs(tdd�tdd�attd�dS)N�r)�colors�colorrrrr�changecolor srcCs`td�td�td�td�ddddgattd	�t�ttd
�tt	d�ttd�dS)
NZcircle�userg�?�ZredZgreenZblueZyellowrr	�Z	EVENTLOOP)
�shapeZ
resizemodeZ	shapesize�widthr
rrZ
onscreenclickZgotorrrrr�main%s


r�__main__N)rr)rr)	�__doc__Zturtlerrr�__name__�msg�printZmainlooprrrr�<module>s



?>