'Set the geometry (path) and the mouse hit area (hitArea) for this
item.'

def setGeometryData(self, path, hitArea):

    self.__boundingRect = self.__shape = None
    super().setPath(path)
    assert (self.__boundingRect is None), 'setPath    ->    boundingRect'
    assert (self.__shape is None), 'setPath    ->    shape'
    self.mouseAreaShape = hitArea
