code: def __init__(self, scalable=False):
      # QtWidgets.QGraphicsRectItem.__init__(self, 0, 0, size[0], size[1])
      ROI.__init__(self, [0, 0], [1, 1])
      center = [0.5, 0.5]
  
      if scalable:
          self.addScaleHandle([1, 1], center, lockAspect=True)
          self.addScaleHandle([0, 0], center, lockAspect=True)
      self.addRotateHandle([0, 1], center)
      self.addRotateHandle([1, 0], center)
  
imports: import gc
  import importlib
  import weakref
  import warnings
  from ..graphicsItems.GridItem import GridItem
  from ..graphicsItems.ROI import ROI
  from ..graphicsItems.ViewBox import ViewBox
  from ..Qt import QT_LIB, QtCore, QtGui, QtWidgets
  from .None import CanvasTemplate_generic
  from .CanvasItem import CanvasItem, GroupCanvasItem
  from .CanvasManager import CanvasManager
label_desc: Use image node_id 1 to create a new SelectBox object from inherited base classes: ROI with example: obj = SelectBox(scalable)