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

Class rect

source code


r=rect(width,height,x,y,fill,stroke,stroke_width,**args)

a rectangle is defined by a width and height and a xy pair

Instance Methods [hide private]
 
__init__(self, x=None, y=None, width=None, height=None, fill=None, stroke=None, stroke_width=None, **args) source code

Inherited from SVGelement: addElement, toXml

Method Details [hide private]

__init__(self, x=None, y=None, width=None, height=None, fill=None, stroke=None, stroke_width=None, **args)
(Constructor)

source code 
Overrides: SVGelement.__init__