Arrow#
- class Arrow(pointy_end: complex, direction: complex)#
Bases:
object
Class representing a graphical arrow
- __init__(pointy_end: complex, direction: complex)#
- Parameters:
pointy_end – the position of the pointy end of the arrow (end point)
direction – direction of arrow from start point to end point
Methods
__init__
(pointy_end, direction)- param pointy_end:
the position of the pointy end of the arrow (end point)
triangle
()