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

Class stop

source code

BaseElement --+
              |
             stop

Instance Methods [hide private]
 
__init__(self, offset, stopcolor)
Creates a line
source code

Inherited from BaseElement: getXML, getXMLFromStyle

Method Details [hide private]

__init__(self, offset, stopcolor)
(Constructor)

source code 

Creates a line

Parameters:
  • x1 (string or int) - starting x-coordinate
  • y1 - starting y-coordinate
  • x2 - ending x-coordinate
  • y2 (string or int) - ending y-coordinate
  • style_dict (dictionary) - style(s) to use for this element
  • focusable (???) - ??
Overrides: BaseElement.__init__