Draws a line
It will draw a straight line if there are two points, and a polyline if there are more than two.
wx.lib.floatcanvas.FCObjects.Spline
wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.LineOnlyMixin
, wx.lib.floatcanvas.FCObjects.PointsObjectMixin
Default class constructor. |
Draws a line
It will draw a straight line if there are two points, and a polyline if there are more than two.
Default class constructor.
Points – takes a 2-tuple, or a (2,) NumPy array of point coordinates
LineColor – see SetColor
LineStyle – see SetLineStyle
LineWidth – see SetLineWidth
InForeground (boolean) – should object be in foreground