Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
representation of a group of objects

constructor:
    Group (parent[, style][, translate][, rotate])
    where translate is a coordinate pair (x,y)
    and rotate is an angle (in degrees, counter-clockwise)

src/s/v/svgobject-0.1/test/svgobjecttest.py   svgobject(Download)
doc = svg.SVG(640, 300, view_box=(-100, -100, 840, 500))
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"))