3 \subsection{Direct definition}
5 The object \Lkeyword{line} defines a \Index{line} (or a series of line
6 segments). We use the option \Lkeyword{args} to specify the points:
7 \texttt{[object=line,args=$A_0$ $A_1$ \ldots $A_n$]}
9 We can also define a line that has been transformed using a
10 translation, a rotation, a homothety, etc., as though it were a
13 \begin{LTXexample}[width=7.5cm]
14 \begin{pspicture}(-3,-3)(4,3.5)%
15 \psframe*[linecolor=blue!50](-3,-3)(4,3.5)
16 \psset{lightsrc=50 20 20,viewpoint=50 30 15,Decran=60}
18 \psSolid[object=grille,
20 linewidth=0.5\pslinewidth,linecolor=gray,]
21 %% definition du plan de projection
25 base=-3.2 3.2 -2.2 2.2,
34 \psProjection[object=line,
37 \psProjection[object=line,
41 %% du code jps dans la definition
42 \psProjection[object=line,
43 definition={2 -2 addv} papply,
47 \axesIIID(4,2,2)(5,4,3)