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

Class radialgradient

source code


rg=radialgradient(cx,cy,r,fx,fy,id,**args)

defines a radial gradient using a outer circle which are defined by a cx,cy and r and by using a focalpoint. stop elements van be added to define the gradient colors.

Instance Methods [hide private]
 
__init__(self, cx=None, cy=None, r=None, fx=None, fy=None, id=None, **args) source code

Inherited from SVGelement: addElement, toXml

Method Details [hide private]

__init__(self, cx=None, cy=None, r=None, fx=None, fy=None, id=None, **args)
(Constructor)

source code 
Overrides: SVGelement.__init__