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 |
---|---|---|
|
Line color |
|
|
Line width |
float |
|
Line style |
|
|
Legend string |
str |
Warning
All methods except __init__
are private.
Class Hierarchy¶
Known Superclasses¶
wx.lib.plot.polyobjects.PolyLine
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Draw the spline |
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
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)¶
Initialize self. See help(type(self)) for accurate signature.
- draw(self, dc, printerScale, coord=None)¶
Draw the spline