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)
| 3193 | self.currentLine = [self._position] |
| 3194 | |
| 3195 | def filling(self): |
| 3196 | """Return fillstate (True if filling, False else). |
| 3197 | |
| 3198 | No argument. |
| 3199 | |
| 3200 | Example (for a Turtle instance named turtle): |
| 3201 | >>> turtle.begin_fill() |
| 3202 | >>> if turtle.filling(): |
| 3203 | ... turtle.pensize(5) |
| 3204 | ... else: |
| 3205 | ... turtle.pensize(3) |
| 3206 | """ |
| 3207 | return isinstance(self._fillpath, list) |
| 3208 | |
| 3209 | def begin_fill(self): |
| 3210 | """Called just before drawing a shape to be filled. |
no outgoing calls
no test coverage detected