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

Inheritance diagram of PolySpline

| |super_classes| Known Superclasses ================================== :class:`lib.plot.PolyLine` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.plot.PolySpline.__init__` Creates PolyLine object :meth:`~lib.plot.PolySpline.draw` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PolySpline(PolyLine) 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 spline :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)