lib/shapes/Line.py
def svg(self):
		"""Returns the SVG representation as an XML fragment."""

		self.attrs['x1'] = self.start.x
		self.attrs['y1'] = self.start.y
		self.attrs['x2'] = self.end.x
		self.attrs['y2'] = self.end.y

		return Shape.svg(self)
Returns the SVG representation as an XML fragment.
Returns the SVG representation as an XML fragment.
Returns the SVG representation as an XML fragment .
def svg(self):
		self.attrs['x1'] = self.start.x
		self.attrs['y1'] = self.start.y
		self.attrs['x2'] = self.end.x
		self.attrs['y2'] = self.end.y
		return Shape.svg(self)
def svg ( self ) : self . attrs [ 'x1' ] = self . start . x self . attrs [ 'y1' ] = self . start . y self . attrs [ 'x2' ] = self . end . x self . attrs [ 'y2' ] = self . end . y return Shape . svg ( self )
Returns the SVG representation as an XML fragment.
Returns the SVG representation as an XML fragment .
"""Returns the SVG representation as an XML fragment."""
self