Home
last modified time | relevance | path

Searched refs:pencolor (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Demo/turtle/
Dtdemo_wikipedia.py33 t.pencolor(1-c,0,c)
42 p.pencolor("red")
Dtdemo_planet_and_moon.py101 earth.pencolor("green")
104 moon.pencolor("blue")
Dtdemo_penrose.py171 pencolor("black")
173 pencolor(0.7,0.7,1)
Dtdemo_chaos.py33 pencolor(color)
Dtdemo_colormixer.py25 self.pencolor("gray25")
Dtdemo_nim.py139 self.writer.pencolor("red")
142 self.writer.pencolor("black")
/external/python/cpython3/Lib/turtledemo/
Drosette.py33 t.pencolor(1-c,0,c)
42 p.pencolor("red")
Dplanet_and_moon.py100 earth.pencolor("green")
103 moon.pencolor("blue")
Dpenrose.py168 pencolor("black")
170 pencolor(0.7,0.7,1)
Dchaos.py33 pencolor(color)
Dcolormixer.py25 self.pencolor("gray25")
Dnim.py139 self.writer.pencolor("red")
142 self.writer.pencolor("black")
Dforest.py39 t.pencolor( 255 - (180 - 11 * level + symRandom(15)),
/external/python/cpython2/Doc/library/
Dturtle.rst129 | :func:`pencolor`
790 * "pencolor": color-string or color-tuple
807 >>> turtle.pen(fillcolor="black", pencolor="red", pensize=10)
809 [('fillcolor', 'black'), ('outline', 1), ('pencolor', 'red'),
816 [('fillcolor', ''), ('outline', 1), ('pencolor', 'yellow'),
821 [('fillcolor', 'green'), ('outline', 1), ('pencolor', 'red'),
843 .. function:: pencolor(*args)
845 Return or set the pencolor.
849 ``pencolor()``
850 Return the current pencolor as color specification string or
[all …]
/external/python/cpython3/Doc/library/
Dturtle.rst144 | :func:`pencolor`
810 * "pencolor": color-string or color-tuple
827 >>> turtle.pen(fillcolor="black", pencolor="red", pensize=10)
829 [('fillcolor', 'black'), ('outline', 1), ('pencolor', 'red'),
837 [('fillcolor', ''), ('outline', 1), ('pencolor', 'yellow')]
840 [('fillcolor', 'green'), ('outline', 1), ('pencolor', 'red')]
859 .. function:: pencolor(*args)
861 Return or set the pencolor.
865 ``pencolor()``
866 Return the current pencolor as color specification string or
[all …]
/external/python/cpython2/Lib/lib-tk/
Dturtle.py611 def _write(self, pos, txt, align, font, pencolor): argument
621 fill = pencolor, font = font)
1946 def _reset(self, pencolor=_CFG["pencolor"], argument
1950 self._pencolor = pencolor
2133 self.pen(pencolor=pcolor, fillcolor=fcolor)
2137 def pencolor(self, *args): member in TPen
2170 self.pen(pencolor=color)
3260 self.pencolor(color)
3952 pencolor("green")
4016 tri.pencolor("black")
[all …]
/external/python/cpython3/Lib/
Dturtle.py587 def _write(self, pos, txt, align, font, pencolor): argument
597 fill = pencolor, font = font)
2030 def _reset(self, pencolor=_CFG["pencolor"], argument
2034 self._pencolor = pencolor
2218 self.pen(pencolor=pcolor, fillcolor=fcolor)
2222 def pencolor(self, *args): member in TPen
2255 self.pen(pencolor=color)
3392 self.pencolor(color)
4056 pencolor("green")
4121 tri.pencolor("black")
[all …]