wx.lib.plot.polyobjects.PolySpline¶Creates PolySpline object
The points that make up the spline
list of [x, y] values
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 API¶PolySpline(PolyLine)¶Creates PolySpline object
points (list of [x, y] values) – The points that make up the spline
**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.
__init__(self, points, **attr)¶Initialize self. See help(type(self)) for accurate signature.
draw(self, dc, printerScale, coord=None)¶Draw the spline