#### 8.1.13 Path

• Path( <list> [, closed (0/1)]
• Description: draw the path by reading the <list> and close the last component of it if the optional argument is $1$ (default value: $0$). The list gives several points (affixes) and instructions in the following list:
• line: connects the points with a polyline,
• linearc: connects the points with a polyline, but angles are rounded with a circle arc, the value before the linearc command is interpreted as the arcs radius.
• arc: draw a circle arc, four arguments are needed: 3 points (start, center, end) and the radius, plus eventually a fifth argument : the direction (+/- 1). The default value is 1 (counterclockwise).
• ellipticArc: draw an elliptic arc, five arguments are needed: three points, the Xradius, Yradius and eventually an other argument: the direction (+/- 1). The default value is 1 (counterclockwise).Plus eventually a seventh argument: the direction (in degrees) of the great axis with respect to the horizontal.
• curve: connects the points with a natural cubic spline.
• bezier: connects the first and the fourth point with a Bézier curve (the second and third points are control points)
• circle: draw a circle. Two arguments are needed: A point and the center, or three arguments that are three points of the circle.
• ellipse: draw an ellipse. The arguments are: one point, the center, rX radius, rY radius, inclination of the great axis relative to the horizontal (optional).
• move: indicate a movement without drawing.
• closepath: close the curent component.

By convention, the first point of the number n+1 part is the last point of the number n part.

• Exemple(s)

 \begin{texgraph}[name=Path,export=pgf]   view(-5,5,-4,6),Marges(0,0,0,0),size(7.5),   Axes(2*i,1+i),Eofill:=1,   FillStyle:=full,FillOpacity:=0.9,   FillColor:= blue, Width:=8,   Path([-4,i,circle,         -3+2*i,move,-3,-2,line,         0,2,2,-1,arc,         3,3+3*i,0.5,linearc,         1,-1+5*i,-3+2*i,bezier,         closepath,         ])   \end{texgraph}

Path and Eofill commands