'Set the shadow pen used to draw behind tyhe primary pen.
This pen must have a larger width than the primary
pen to be visible.'

def setShadowPen(self, *args, **kargs):

    self.opts['shadowPen'] = fn.mkPen(*args, **kargs)
    self.invalidateBounds()
    self.update()
