code: def makePath(self):
      path = QPainterPath(self.points[0])
      for p in self.points[1:]:
          path.lineTo(p)
      return path
  
imports: import math
  import sys
  from PyQt5.QtCore import QPointF
  from PyQt5.QtGui import QColor, QPen, QPainterPath, QFont
  from libs.utils import distance
label_desc: Use image node_id 15 for calling the Shape obj's underlying member method code with example usage: obj.makePath() and returns: path