(self, p1, p2, options=["outline","width","fill"])
| 560 | # (opposite corners) Line segment is a degenerate case. |
| 561 | |
| 562 | def __init__(self, p1, p2, options=["outline","width","fill"]): |
| 563 | GraphicsObject.__init__(self, options) |
| 564 | self.p1 = p1.clone() |
| 565 | self.p2 = p2.clone() |
| 566 | |
| 567 | def _move(self, dx, dy): |
| 568 | self.p1.x = self.p1.x + dx |