Table Of Contents

Previous topic

Arrow

Next topic

Bitmap

This Page

phoenix_title ArrowLine

ArrowLine class definition.

API definition:

ArrowLine(Points, # coords of points
          LineColor = "Black",
          LineStyle = "Solid",
          LineWidth    = 1,
          ArrowHeadSize = 4, # in pixels
          ArrowHeadAngle = 45,
          InForeground = False):

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 Inheritance Diagram

Inheritance diagram for class ArrowLine

Inheritance diagram of ArrowLine


method_summary Methods Summary

__init__  
CalcArrowPoints  

api Class API



class ArrowLine(PointsObjectMixin, LineOnlyMixin, DrawObject)

ArrowLine class definition.

API definition:

ArrowLine(Points, # coords of points
          LineColor = "Black",
          LineStyle = "Solid",
          LineWidth    = 1,
          ArrowHeadSize = 4, # in pixels
          ArrowHeadAngle = 45,
          InForeground = False):

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)


CalcArrowPoints(self)