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

Class polygon

source code


pl=polyline([[x1,y1],[x2,y2],...],fill,stroke,stroke_width,**args)

a polygon is defined by a list of xy pairs

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

Inherited from SVGelement: addElement, toXml

Method Details [hide private]

__init__(self, points, fill=None, stroke=None, stroke_width=None, **args)
(Constructor)

source code 
Overrides: SVGelement.__init__