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

Class symbol

source code


sy=symbol(id,viewbox,**args)

defines a symbol which can be used on different places in your graph using the use element. A symbol is not rendered but you can use 'use' elements to display it by referencing its id. sy.addElement(SVGelement)

Instance Methods [hide private]
 
__init__(self, id=None, viewBox=None, **args) source code

Inherited from SVGelement: addElement, toXml

Method Details [hide private]

__init__(self, id=None, viewBox=None, **args)
(Constructor)

source code 
Overrides: SVGelement.__init__