def setRGB(self, newRGB, operation='', log=True): """DEPRECATED since v1.60.05: Please use the `color` attribute """ from psychopy.visual.helpers import setTexIfNoShaders self._set('rgb', newRGB, operation) setTexIfNoShaders(self) if self.__class__.__name__ == 'TextStim' and not self.useShaders: self._needSetText=True
def setRGB(self, newRGB, operation=''): """DEPRECATED since v1.60.05: Please use the `color` attribute """ self._set('rgb', newRGB, operation) setTexIfNoShaders(self)
def setRGB(self, newRGB, operation=''): """DEPRECATED since v1.60.05: Please use the `color` attribute """ from psychopy.visual.helpers import setTexIfNoShaders self._set('rgb', newRGB, operation) setTexIfNoShaders(self)