예제 #1
0
 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
예제 #2
0
 def setRGB(self, newRGB, operation=''):
     """DEPRECATED since v1.60.05: Please use the `color` attribute
     """
     self._set('rgb', newRGB, operation)
     setTexIfNoShaders(self)
예제 #3
0
 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)
예제 #4
0
 def setRGB(self, newRGB, operation=''):
     """DEPRECATED since v1.60.05: Please use the `color` attribute
     """
     self._set('rgb', newRGB, operation)
     setTexIfNoShaders(self)