#NEWLINE# def path( self , points , pen ) : #NEWLINE# #INDENT# pts = numpy . array ( points , numpy . int32 ) #NEWLINE# pts = pts . reshape ( ( ( - 1 ) , 1 , 2 ) ) #NEWLINE# cv2 . polylines ( self . canvas , [ pts ] , False , pen . color , pen . linewidth )