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

Class LinearGradient

source code

Instance Methods [hide private]
 
__init__(self, id) source code
 
addStop(self, offset, color) source code
 
getXML(self)
Return a XML representation of the current element.
source code
Class Variables [hide private]
  startXML = "<linearGradient "
  endTag = ">\n"
  endXML = "</linearGradient>\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