Package obitools :: Module SVGdraw :: Class line
[hide private]
[frames] | no frames]

Class line

source code


l=line(x1,y1,x2,y2,stroke,stroke_width,**args)

A line is defined by a begin x,y pair and an end x,y pair

Instance Methods [hide private]
 
__init__(self, x1=None, y1=None, x2=None, y2=None, stroke=None, stroke_width=None, **args) source code

Inherited from SVGelement: addElement, toXml

Method Details [hide private]

__init__(self, x1=None, y1=None, x2=None, y2=None, stroke=None, stroke_width=None, **args)
(Constructor)

source code 
Overrides: SVGelement.__init__