summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-18-6-1.tex
blob: 8be32ed78cfa5815be76b55bdcd8be3a3708a47b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 114 (Section 18.6.1 : Draw a polygon 1)

\begin{tikzpicture} [rotate=18,scale=1.5]
 \tkzDefPoint(0,0){A}
 \tkzDefPoint(2.25,0.2){B}
 \tkzDefPoint(2.5,2.75){C}
 \tkzDefPoint(-0.75,2){D}
 \tkzDrawPolygon[fill=black!50!blue!20!](A,B,C,D)
 \tkzDrawSegments[style=dashed](A,C B,D)
\end{tikzpicture}

\end{document}