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)
| 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. |
no outgoing calls
no test coverage detected