wx.lib.floatcanvas.FCObjects.Line¶Draws a line
It will draw a straight line if there are two points, and a polyline if there are more than two.
Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.LineOnlyMixin, wx.lib.floatcanvas.FCObjects.PointsObjectMixin
Class API¶Line(PointsObjectMixin, LineOnlyMixin, DrawObject)¶Draws a line
It will draw a straight line if there are two points, and a polyline if there are more than two.
__init__(self, Points, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, InForeground = False)¶Default class constructor.
| Parameters: |
|
|---|