code: def __init__(self, annotation_item, index, color, img_size):
      super(GripItem, self).__init__()
      self.m_annotation_item = annotation_item
      self.hovering = False
      self.m_index = index
      self.anning = True
      color.setAlphaF(1)
      self.color = color
      self.img_size = img_size
  
      self.updateSize()
      self.setPath(self.circle)
      self.setBrush(self.color)
      self.setPen(QtGui.QPen(self.color, 1))
      self.setFlag(QtWidgets.QGraphicsItem.ItemIsSelectable, True)
      self.setFlag(QtWidgets.QGraphicsItem.ItemIsMovable, True)
      self.setFlag(
          QtWidgets.QGraphicsItem.ItemSendsGeometryChanges, True
      )
      self.setFlag(QtWidgets.QGraphicsItem.ItemIsFocusable, True)
      self.setAcceptHoverEvents(True)
      self.setZValue(12)
      self.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
  
file_path: PaddleSeg/EISeg/eiseg/widget/grip.py
imports: from PyQt5.QtCore import QPointF
  from qtpy import QtWidgets, QtGui, QtCore
label_desc: Use image node_id 1 to create a new GripItem object from inherited base classes: QtWidgets with example: obj = GripItem(annotation_item, index, color, img_size)