Home
last modified time | relevance | path

Searched refs:colormode (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/turtledemo/
Dforest.py14 from turtle import Turtle, colormode, tracer, mainloop
56 colormode(255)
Dnim.py121 self.screen.colormode(255)
/external/python/cpython2/Doc/library/
Dturtle.rst200 | :func:`colormode`
860 *b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where
861 colormode is either 1.0 or 255 (see :func:`colormode`).
865 *r*, *g*, and *b* must be in the range 0..colormode.
872 >>> colormode()
883 >>> colormode(255)
908 *b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where
909 colormode is either 1.0 or 255 (see :func:`colormode`).
913 *r*, *g*, and *b* must be in the range 0..colormode.
967 See also: Screen method :func:`colormode`.
[all …]
/external/python/cpython3/Doc/library/
Dturtle.rst216 | :func:`colormode`
876 *b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where
877 colormode is either 1.0 or 255 (see :func:`colormode`).
881 *r*, *g*, and *b* must be in the range 0..colormode.
888 >>> colormode()
899 >>> colormode(255)
924 *b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where
925 colormode is either 1.0 or 255 (see :func:`colormode`).
929 *r*, *g*, and *b* must be in the range 0..colormode.
982 See also: Screen method :func:`colormode`.
[all …]
/external/python/cpython2/Demo/turtle/
Dtdemo_nim.py121 self.screen.colormode(255)
/external/python/cpython2/Lib/lib-tk/
Dturtle.py922 colormode=_CFG["colormode"], delay=_CFG["delay"]): argument
1128 def colormode(self, cmode=None): member in TurtleScreen
3950 colormode(255)
/external/python/cpython3/Lib/
Dturtle.py966 colormode=_CFG["colormode"], delay=_CFG["delay"]): argument
1180 def colormode(self, cmode=None): member in TurtleScreen
4054 colormode(255)