(self)
| 89 | return line |
| 90 | |
| 91 | def _append_position(self): |
| 92 | # If any coordinate isn't equal to the last recorded position. |
| 93 | if self.drawing and ( |
| 94 | not self.active_line or np.any(self.active_line[-1] != self.turtle.position) |
| 95 | ): |
| 96 | self.active_line.append(self.turtle.position) |
| 97 | |
| 98 | def _interpret_default(self, tokens: Tokens): |
| 99 | for token in tokens: |