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

Class polygon

source code

BaseElement --+
              |
             polygon

Instance Methods [hide private]
 
__init__(self, points=None, style_dict=None, focusable=None)
initializes the object
source code

Inherited from BaseElement: getXML, getXMLFromStyle

Method Details [hide private]

__init__(self, points=None, style_dict=None, focusable=None)
(Constructor)

source code 

initializes the object

Parameters:
  • startTag - the tag for the svg element name (e.g. <text )
  • style_dict - the style to use for this element
  • focusable - ??
Overrides: BaseElement.__init__
(inherited documentation)