'Set the pen to use when drawing the ROI shape.
For arguments, see :func:`mkPen <pyqtgraph.mkPen>`.'

def setPen(self, *args, **kwargs):

    self.pen = fn.mkPen(*args, **kwargs)
    self.currentPen = self.pen
    self.update()
