Phoenix Logo

phoenix_title wx.lib.plot.polyobjects.PolySpline

Creates PolySpline object

param points:The points that make up the spline
type points:list of [x, y] values
param **attr:keyword attributes
Keyword and Default Description Type
colour='black' Line color wx.Colour
width=1 Line width float
style=wx.PENSTYLE_SOLID Line style wx.PenStyle
legend='' Legend string str

Warning

All methods except __init__ are private.


class_hierarchy Class Hierarchy

Inheritance diagram for class PolySpline:


method_summary Methods Summary

__init__  
draw Draw the spline

api Class API



class PolySpline(PolyLine)

Creates PolySpline object

Parameters:
  • points (list of [x, y] values) – The points that make up the spline
  • **attr – keyword attributes

Keyword and Default Description Type
colour='black' Line color wx.Colour
width=1 Line width float
style=wx.PENSTYLE_SOLID Line style wx.PenStyle
legend='' Legend string str

Warning

All methods except __init__ are private.


Methods



__init__(self, points, **attr)


draw(self, dc, printerScale, coord=None)

Draw the spline