(self, option)
| 662 | return canvas.create_line(x1,y1,x2,y2,options) |
| 663 | |
| 664 | def setArrow(self, option): |
| 665 | if not option in ["first","last","both","none"]: |
| 666 | raise GraphicsError, BAD_OPTION |
| 667 | self._reconfig("arrow", option) |
| 668 | |
| 669 | def __str__(self): |
| 670 | return "Line: %s-%s" % (self.p1.coordStr(), self.p2.coordStr()) |