 wx.lib.floatcanvas.FCObjects.ArrowLine¶
  wx.lib.floatcanvas.FCObjects.ArrowLine¶
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.
 Class Hierarchy¶
 Class Hierarchy¶
 Known Superclasses¶
 Known Superclasses¶
wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.LineOnlyMixin, wx.lib.floatcanvas.FCObjects.PointsObjectMixin
 Methods Summary¶
 Methods Summary¶
| Default class constructor. | |
| Calculate the arrow points. | 
 Class API¶
 Class API¶
- class 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. 
 - Methods¶- __init__(self, Points, LineColor='Black', LineStyle='Solid', LineWidth=1, ArrowHeadSize=8, ArrowHeadAngle=30, InForeground=False)¶
- Default class constructor. - Parameters:
- Points – takes a 2-tuple, or a (2,) NumPy array of point coordinates 
- LineColor – see - SetColor
- LineStyle – see - SetLineStyle
- LineWidth – see - SetLineWidth
- ArrowHeadSize – size of arrow head in pixels 
- ArrowHeadAngle – angle of arrow head in degrees 
- InForeground (boolean) – should object be in foreground 
 
 
 - CalcArrowPoints(self)¶
- Calculate the arrow points. 
 
