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

Class lineargradient

source code


lg=lineargradient(x1,y1,x2,y2,id,**args)

defines a lineargradient using two xy pairs. stop elements van be added to define the gradient colors.

Instance Methods [hide private]
 
__init__(self, x1=None, y1=None, x2=None, y2=None, id=None, **args) source code

Inherited from SVGelement: addElement, toXml

Method Details [hide private]

__init__(self, x1=None, y1=None, x2=None, y2=None, id=None, **args)
(Constructor)

source code 
Overrides: SVGelement.__init__