parameters: (self, sx, sy = None)
docstring: setTextScale(self, float, float)
          Scale the text in 2d space.  You may specify either a single
          uniform scale, or two scales, or a tuple of two scales.
  
          .. versionadded:: 1.10.8
docstring_summary: setTextScale(self, float, float)
          Scale the text in 2d space.  You may specify either a single
          uniform scale, or two scales, or a tuple of two scales.
docstring_tokens: setTextScale ( self float float ) Scale the text in 2d space . You may specify either a single uniform scale or two scales or a tuple of two scales .
function: def setTextScale(self, sx, sy = None):
          """setTextScale(self, float, float)
          Scale the text in 2d space.  You may specify either a single
          uniform scale, or two scales, or a tuple of two scales.
  
          .. versionadded:: 1.10.8
          """
  
          if sy is None:
              if isinstance(sx, tuple):
                  self.__scale = sx
              else:
                  self.__scale = (sx, sx)
          else:
              self.__scale = (sx, sy)
          self.updateTransformMat()
function_tokens: def setTextScale ( self , sx , sy = None ) : if sy is None : if isinstance ( sx , tuple ) : self . __scale = sx else : self . __scale = ( sx , sx ) else : self . __scale = ( sx , sy ) self . updateTransformMat ( )