class_docstr: GraphicsItem displaying unscaled text (the text will always appear normal even inside a scaled ViewBox). 
docstr: Set the angle of the text in degrees.
  
  This sets the rotation angle of the text as a whole, measured
  counter-clockwise from the x axis of the parent. Note that this rotation
  angle does not depend on horizontal/vertical scaling of the parent.
docstr_tok: ["Set","the","angle","of","the","text","in","degrees",".","This","sets","the","rotation","angle","of","the","text","as","a","whole",",","measured","counter-clockwise","from","the","x","axis","of","the","parent",".","Note","that","this","rotation","angle","does","not","depend","on","horizontal\/vertical","scaling","of","the","parent","."]
code: def setAngle(self, angle):
      """
      Set the angle of the text in degrees.
  
      This sets the rotation angle of the text as a whole, measured
      counter-clockwise from the x axis of the parent. Note that this rotation
      angle does not depend on horizontal/vertical scaling of the parent.
      """
      self.angle = angle
      self.updateTransform(force=True)
  
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 9 for calling the TextItem obj's underlying member method code with example usage: obj.setAngle(angle) without return types