Package pySVG :: Module pysvg :: Class Defs
[hide private]
[frames] | no frames]

Class Defs

source code

This class packs all definitions

Instance Methods [hide private]
 
__init__(self) source code
 
addDefinition(self, definition) source code
 
removeDefinition(self, id) source code
 
getXML(self)
Return a XML representation of the current element.
source code
Class Variables [hide private]
  startXML = "<defs>\n"
  endXML = "</defs>\n"
Method Details [hide private]

getXML(self)

source code 

Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG

Returns:
the representation of the current element as an xml string