MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / register_shape

Method register_shape

Lib/lib-tk/turtle.py:1053–1087  ·  view source on GitHub ↗

Adds a turtle shape to TurtleScreen's shapelist. Arguments: (1) name is the name of a gif-file and shape is None. Installs the corresponding image shape. !! Image-shapes DO NOT rotate when turning the turtle, !! so they do not display the heading

(self, name, shape=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.80

Calls 5

ShapeClass · 0.85
TurtleGraphicsErrorClass · 0.85
endswithMethod · 0.80
_imageMethod · 0.80
lowerMethod · 0.45

Tested by

no test coverage detected