class_docstr: For displaying scale-invariant arrows.
  For arrows pointing to a location on a curve, see CurveArrow
class_docstr_tok: ["For","displaying","scale-invariant","arrows",".","For","arrows","pointing","to","a","location","on","a","curve",",","see","CurveArrow"]
docstr: Arrows can be initialized with any keyword arguments accepted by 
  the setStyle() method.
docstr_tok: ["Arrows","can","be","initialized","with","any","keyword","arguments","accepted","by","the","setStyle","(",")","method","."]
code: def __init__(self, parent=None, **opts):
      """
      Arrows can be initialized with any keyword arguments accepted by
      the setStyle() method.
      """
      self.opts = {}
      QtWidgets.QGraphicsPathItem.__init__(self, parent)
  
      if "size" in opts:
          opts["headLen"] = opts["size"]
      if "width" in opts:
          opts["headWidth"] = opts["width"]
      pos = opts.pop("pos", (0, 0))
  
      defaultOpts = {
          "pxMode": True,
          "angle": -150,  ## If the angle is 0, the arrow points left
          "headLen": 20,
          "headWidth": None,
          "tipAngle": 25,
          "baseAngle": 0,
          "tailLen": None,
          "tailWidth": 3,
          "pen": (200, 200, 200),
          "brush": (50, 50, 200),
      }
      defaultOpts.update(opts)
  
      self.setStyle(**defaultOpts)
  
      # for backward compatibility
      self.setPos(*pos)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/ArrowItem.py
imports: from math import hypot
  from ..None import functions
  from ..Qt import QtGui, QtWidgets
label_desc: Use image node_id 1 to create a new ArrowItem object from inherited base classes: QtWidgets with example: obj = ArrowItem(parent)