# Arrow

Arrow[{pt1,pt2}]

is a graphics primitive that represents an arrow from pt1 to pt2.

Arrow[{pt1,pt2},s]

represents an arrow with its ends set back from pt1 and pt2 by a distance s.

Arrow[{pt1,pt2},{s1,s2}]

sets back by s1 from pt1 and s2 from pt2.

Arrow[curve,]

represents an arrow following the specified curve.

# Details

• Arrow can be used in both Graphics and Graphics3D (two- and three-dimensional graphics).
• The following curve specifications can be used in Graphics:
•  Line[…] piecewise line segments BezierCurve[…] composite Bezier curve BSplineCurve[…] B-spline curve JoinedCurve[…] joined curve object
• The following curve specifications can be used in Graphics3D:
•  Line[…] piecewise line segments BezierCurve[…] composite Bezier curve BSplineCurve[…] B-spline curve Tube[…] tubed curve object
• Arrow[Line[]] is equivalent to Arrow[]. Arrow[Tube[]] yields a 3D arrow based on a tube.
• Arrow[{pt1,pt2,}] represents an arrow whose shaft passes through the sequence of points pti.
• The positions of points can be specified either in ordinary coordinates as {x,y}, or in scaled coordinates as Scaled[{x,y}] or using ImageScaled or Offset. »
• The shaft of the arrow consists of a sequence of straight segments joining the specified points.
• Arrow[{pt1,pt2}] is drawn by default with its tail at pt1 and its head at pt2.
• The form, orientation, and position of arrowheads can be specified by an Arrowheads directive. »
• Graphics directives such as RGBColor or Thickness apply to both the shaft and arrowhead elements of an arrow. »
• You can prevent directives from applying to an arrowhead by including explicit directives within the graphic used to specify the arrowhead.
• In Arrow[{pt1,pt2},s] the setback distance s is measured in the ordinary coordinate system of the whole graphic, so that the arrow will just touch Disk[pti,s]. »
• If the whole graphic does not have , then a specified arrow setback may correspond to different distances in different directions in the graphic.

# Examples

open allclose all

## Basic Examples(6)

A 2D arrow primitive:

 In[1]:=
 Out[1]=

A 3D arrow primitive:

 In[1]:=
 Out[1]=

A full 3D arrow primitive using tubes:

 In[1]:=
 Out[1]=

Curved arrows:

 In[1]:=
 Out[1]=

 In[1]:=
 Out[1]=

Differently styled 2D arrows:

 In[1]:=
 In[2]:=
 Out[2]=