(self)
Sets whether the amount of ink applied to the canvas is to be
            inverted (subtracted from the maximum value) before the ink is
            applied.
Sets whether the amount of ink applied to the canvas is to be
            inverted (subtracted from the maximum value) before the ink is
            applied.
Sets whether the amount of ink applied to the canvas is to be inverted ( subtracted from the maximum value ) before the ink is applied .
def invertImage(self):
        """ Sets whether the amount of ink applied to the canvas is to be
            inverted (subtracted from the maximum value) before the ink is
            applied.
        """
        self.inverted = not self.inverted
        self.createImage()
        self.imageChanged.emit()
def invertImage ( self ) : self . inverted = not self . inverted self . createImage ( ) self . imageChanged . emit ( )