Home
last modified time | relevance | path

Searched refs:shapeIndex (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/
Dturtle.py2485 def __init__(self, screen, shapeIndex): argument
2488 self._setshape(shapeIndex)
2490 def _setshape(self, shapeIndex): argument
2492 self.shapeIndex = shapeIndex
2493 if self._type == "polygon" == screen._shapes[shapeIndex]._type:
2495 if self._type == "image" == screen._shapes[shapeIndex]._type:
2502 self._type = screen._shapes[shapeIndex]._type
2509 screen._shapes[shapeIndex]._data]
2738 q.turtle = _TurtleImage(screen, self.turtle.shapeIndex)
2741 ttype = screen._shapes[self.turtle.shapeIndex]._type
[all …]
/external/python/cpython2/Lib/lib-tk/
Dturtle.py2390 def __init__(self, screen, shapeIndex): argument
2393 self._setshape(shapeIndex)
2395 def _setshape(self, shapeIndex): argument
2397 self.shapeIndex = shapeIndex
2398 if self._type == "polygon" == screen._shapes[shapeIndex]._type:
2400 if self._type == "image" == screen._shapes[shapeIndex]._type:
2407 self._type = screen._shapes[shapeIndex]._type
2414 screen._shapes[shapeIndex]._data]
2643 q.turtle = _TurtleImage(screen, self.turtle.shapeIndex)
2646 ttype = screen._shapes[self.turtle.shapeIndex]._type
[all …]