Increases or decreases size of the polygon.
(self, factor)
| 26 | vertex.direction += direction |
| 27 | |
| 28 | def scale(self, factor): |
| 29 | "Increases or decreases size of the polygon." |
| 30 | for vertex in self.vertices: |
| 31 | vertex *= factor |
| 32 | |
| 33 | def copy(self): |
| 34 | "Copies the polygon by copying its vertices." |
no outgoing calls
no test coverage detected