.. include:: headings.inc .. currentmodule:: lib.plot .. highlight:: python .. _lib.plot.PolyLine: ========================================================================================================================================== |phoenix_title| **PolyLine** ========================================================================================================================================== Class to define line type and style - All methods except __init__ are private. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **PolyLine** .. raw:: html

Inheritance diagram of PolyLine

| |super_classes| Known Superclasses ================================== :class:`lib.plot.PolyPoints` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.plot.PolyLine.__init__` Creates PolyLine object :meth:`~lib.plot.PolyLine.draw` :meth:`~lib.plot.PolyLine.getSymExtent` Width and Height of Marker ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PolyLine(PolyPoints) Class to define line type and style - All methods except __init__ are private. .. method:: __init__(self, points, \*\*attr) Creates PolyLine object :param `points`: sequence (array, tuple or list) of (x,y) points making up line :keyword `attr`: keyword attributes, default to: ========================== ================================ 'colour'= 'black' wx.Pen Colour any wx.NamedColour 'width'= 1 Pen width 'style'= wx.SOLID wx.Pen style 'legend'= '' Line Legend to display ========================== ================================ .. method:: draw(self, dc, printerScale, coord= None) .. method:: getSymExtent(self, printerScale) Width and Height of Marker