class_docstr: GraphicsItem displaying unscaled text (the text will always appear normal even inside a scaled ViewBox). 
docstr: Set the text of this item. 
  
  This method sets the plain text of the item; see also setHtml().
docstr_tok: ["Set","the","text","of","this","item",".","This","method","sets","the","plain","text","of","the","item",";","see","also","setHtml","(",")","."]
code: def setText(self, text, color=None):
      """
      Set the text of this item.
  
      This method sets the plain text of the item; see also setHtml().
      """
      if color is not None:
          self.setColor(color)
      self.setPlainText(text)
  
imports: from math import atan2, degrees
  from ..None import functions
  from ..Point import Point
  from ..Qt import QtCore, QtGui, QtWidgets
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 2 for calling the TextItem obj's underlying member method code with example usage: obj.setText(text, color) without return types