MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / pendown

Method pendown

tools/python-3.11.9-amd64/Lib/turtle.py:2110–2122  ·  view source on GitHub ↗

Pull the pen down -- drawing when moving. Aliases: pendown | pd | down No argument. Example (for a Turtle instance named turtle): >>> turtle.pendown()

(self)

Source from the content-addressed store, hash-verified

2108 self.pen(pendown=False)
2109
2110 def pendown(self):
2111 """Pull the pen down -- drawing when moving.
2112
2113 Aliases: pendown | pd | down
2114
2115 No argument.
2116
2117 Example (for a Turtle instance named turtle):
2118 >>> turtle.pendown()
2119 """
2120 if self._drawing:
2121 return
2122 self.pen(pendown=True)
2123
2124 def isdown(self):
2125 """Return True if pen is down, False if it's up.

Callers 5

dotMethod · 0.80
maketreeFunction · 0.80
treeFunction · 0.80
startFunction · 0.80
__init__Method · 0.80

Calls 1

penMethod · 0.95

Tested by

no test coverage detected