- class pyqtgraph.ArrowItem(parent=None, **opts)[source]#
For displaying scale-invariant arrows. For arrows pointing to a location on a curve, see CurveArrow
- __init__(parent=None, **opts)[source]#
Arrows can be initialized with any keyword arguments accepted by the setStyle() method.
Changes the appearance of the arrow. All arguments are optional:
Orientation of the arrow in degrees. Default is 0; arrow pointing to the left.
Length of the arrow head, from tip to base. default=20
Width of the arrow head at its base. If headWidth is specified, it overrides tipAngle.
Angle of the tip of the arrow in degrees. Smaller values make a ‘sharper’ arrow. default=25
Angle of the base of the arrow head. Default is 0, which means that the base of the arrow head is perpendicular to the arrow tail.
Length of the arrow tail, measured from the base of the arrow head to the end of the tail. If this value is None, no tail will be drawn. default=None
Width of the tail. default=3
The pen used to draw the outline of the arrow.
The brush used to fill the arrow.
If True, then the arrow is drawn as a fixed size regardless of the scale of its parents (including the ViewBox zoom level).