parallelogram

A parallelogram is a quadrilateral with two pairs of parallel sides.

\documentclass[tikz,margin={4cm 0cm}]{standalone}
\usepackage{tkz-euclide}
%
\begin{document}
\begin{tikzpicture}
    \tkzDefPoint(0,0){A}
    \tkzDefPoint(5,0){B}
    \tkzDefPoint(8,4){C}
    \tkzDefPoint(3,4){D}
    %   \tkzDrawPolygon(A,B,C,D)
    \begin{scope}[decoration={
        markings,
        mark=at position 0.525 with {\arrow{Stealth}}}
        ] 
        \tkzDrawSegments[postaction={decorate}, very thick](A,B D,C)
    \end{scope}
    \begin{scope}[decoration={
        markings,
        mark=at position 0.5 with {\arrow{Stealth}},
        mark=at position 0.55 with {\arrow{Stealth}}}
        ] 
        \tkzDrawSegments[postaction={decorate}, very thick](B,C A,D)
    \end{scope}
    %
    \tkzDrawSegments[thick](A,C B,D)
    \tkzDefMidPoint(A,C) \tkzGetPoint{M}
	%
	\tkzMarkSegments[mark=|](A,M M,C)
    \tkzMarkSegments[mark=||](M,B D,M)
\end{tikzpicture}
\end{document}

Powered by Forestry.md