Lines Matching refs:Turtle
2 :mod:`turtle` --- Turtle graphics
15 turtle = Turtle()
22 Turtle graphics is a popular way for introducing programming to kids. It was
31 .. sidebar:: Turtle star
33 Turtle can draw intricate shapes using programs that repeat simple
71 2. :class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw
75 Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`),
79 All methods of RawTurtle/Turtle also exist as functions, i.e. part of the
83 of the classes :class:`Screen` and :class:`Turtle`. They have the same names as
86 automatically created whenever any of the functions derived from a Turtle method
97 Overview of available Turtle and Screen methods
100 Turtle methods
103 Turtle motion
122 Tell Turtle's state
157 Turtle state
179 Special Turtle methods
235 Methods of RawTurtle/Turtle and corresponding functions
238 Most of the examples in this section refer to a Turtle instance called
241 Turtle motion
643 Tell Turtle's state
737 >>> joe = Turtle()
1056 type of overlap, and number of overlaps. For example, the Turtle star
1114 Turtle state
1146 Return ``True`` if the Turtle is shown, ``False`` if it's hidden.
1339 >>> turtle = Turtle()
1401 >>> class MyTurtle(Turtle):
1431 Subsequently, clicking and dragging the Turtle will move it across
1435 Special Turtle methods
1477 >>> mick = Turtle()
1484 Return the Turtle object itself. Only reasonable use: as a function to
1493 <turtle.Turtle object at 0x...>
1633 derived from the Turtle method ``clear``.
1649 derived from the Turtle method ``reset``.
1762 See also the RawTurtle/Turtle method :func:`speed`.
1827 Example for a TurtleScreen instance named ``screen`` and a Turtle instance
1840 derived from the Turtle method ``onclick``.
2115 Turtle/RawTurtle".
2118 .. class:: Turtle()
2202 The public methods of the Screen and Turtle classes are documented extensively
2228 >>> help(Turtle.penup)
2231 penup(self) unbound turtle.Turtle method
2283 Screen and Turtle.
2338 title = Python Turtle Graphics
2472 - The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and
2473 :meth:`Turtle.window_height` have been eliminated.
2480 - The method :meth:`Turtle.fill` has been eliminated.
2485 - A method :meth:`Turtle.filling` has been added. It returns a boolean
2493 - The methods :meth:`Turtle.shearfactor`, :meth:`Turtle.shapetransform` and
2494 :meth:`Turtle.get_shapepoly` have been added. Thus the full range of
2496 :meth:`Turtle.tiltangle` has been enhanced in functionality: it now can
2497 be used to get or set the tiltangle. :meth:`Turtle.settiltangle` has been
2505 with Screen and Turtle objects one must not additionally import