Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
representation of a single line

constructor:
    Line (parent, x1, y2, x2, y2[, style])

src/s/v/svgobject-0.1/test/svgobjecttest.py   svgobject(Download)
r = svg.Rect(doc, 0, 0, 639, 299, svg.Style(fill="#cccccc", stroke="#0000ff", stroke_width=1))
g = svg.Group(doc, translate=(80,50), style=svg.Style(font_family="Arial,Helvetica,sans-serif"))
l = svg.Line(g, 0, 0, 500, 200, svg.Style(stroke_width=2,stroke="#ff0000"))
t = svg.Text(g, 100, 100, "bla blubb", svg.Style(text_anchor="end"))
svg.PolyLine(g, [(100,100),(100,200),(300,50),(300,100)], svg.Style(stroke="#999999", fill="none"))