#NEWLINE# def arrow_normal( self , color , center , end ) : #NEWLINE# #INDENT# dx = ( center . x - end . x ) #NEWLINE# dy = ( center . y - end . y ) #NEWLINE# s = 0.259 #NEWLINE# c = 0.966 #NEWLINE# ax = ( ( ( dx * dx ) - ( dy * s ) ) * 1.5 ) #NEWLINE# ay = ( ( ( dx * s ) + ( dy * c ) ) * 1.5 ) #NEWLINE# s = ( - 0.259 ) #NEWLINE# c = 0.966 #NEWLINE# bx = ( ( ( dx * c ) - ( dy * s ) ) * 1.5 ) #NEWLINE# by = ( ( ( dx * s ) + ( dy * c ) ) * 1.5 ) #NEWLINE# self . canvas . beginFill ( color ) #NEWLINE# self . canvas . moveTo ( end . x , end . y ) #NEWLINE# self . canvas . lineTo ( ( end . x + ax ) , ( end . y + ay ) ) #NEWLINE# self . canvas . lineTo ( center . x , center . y ) #NEWLINE# self . canvas . lineTo ( ( end . x + bx ) , ( end . y + by ) ) #NEWLINE# self . canvas . endFill ( )