Home
last modified time | relevance | path

Searched refs:register_shape (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Demo/turtle/
Dtdemo_penrose.py121 register_shape("kite", get_poly())
125 register_shape("dart", get_poly())
Dtdemo_clock.py41 register_shape(name, hand_form)
Dtdemo_planet_and_moon.py91 s.getscreen().register_shape("planet", planetshape)
/external/python/cpython2/Doc/library/
Dturtle.rst203 | :func:`register_shape` | :func:`addshape`
1110 deal with shapes see Screen method :func:`register_shape`.
1334 >>> register_shape("myFavouriteShape", p)
1441 >>> register_shape("myshape", s)
1447 The :class:`Shape` class is used internally by the :func:`register_shape`
1773 .. function:: register_shape(name, shape=None)
1781 >>> screen.register_shape("turtle.gif")
1792 >>> screen.register_shape("triangle", ((5,-3), (0,5), (-5,-3)))
1956 >>> # ... add more components and then use register_shape()
/external/python/cpython2/Lib/lib-tk/
Dturtle.py1054 def register_shape(self, name, shape=None): member in TurtleScreen
1424 addshape = register_shape