Draws an arrow line.
It will draw a set of arrows from point to point.
It takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.
wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.LineOnlyMixin
, wx.lib.floatcanvas.FCObjects.PointsObjectMixin
ArrowLine
(PointsObjectMixin, LineOnlyMixin, DrawObject)¶Draws an arrow line.
It will draw a set of arrows from point to point.
It takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.
__init__
(self, Points, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, ArrowHeadSize = 8, ArrowHeadAngle = 30, InForeground = False)¶Default class constructor.
Parameters: |
|
---|
CalcArrowPoints
(self)¶Calculate the arrow points.