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

Method filling

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

Return fillstate (True if filling, False else). No argument. Example (for a Turtle instance named turtle): >>> turtle.begin_fill() >>> if turtle.filling(): ... turtle.pensize(5) ... else: ... turtle.pensize(3)

(self)

Source from the content-addressed store, hash-verified

3311 self.currentLine = [self._position]
3312
3313 def filling(self):
3314 """Return fillstate (True if filling, False else).
3315
3316 No argument.
3317
3318 Example (for a Turtle instance named turtle):
3319 >>> turtle.begin_fill()
3320 >>> if turtle.filling():
3321 ... turtle.pensize(5)
3322 ... else:
3323 ... turtle.pensize(3)
3324 """
3325 return isinstance(self._fillpath, list)
3326
3327 def begin_fill(self):
3328 """Called just before drawing a shape to be filled.

Callers 2

begin_fillMethod · 0.95
end_fillMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected