[Tex/LaTex] Tikz – Draw rectangle with dashed one side and hatching on the others

patterntikz-pathtikz-pgf

I need to a scheme like this one:
enter image description here

The problem is, I have no idea how to do the dashed line on top of rectangle and the hatching in the left side and in the bottom.

Is it possible with Tikz?

Best Answer

Here is a starting point for you. Start to modify it to your needs and if you run into problems, edit your question and comment under this answer, so I get a notification. Then I am going to help you further:

\documentclass[tikz, border=2mm]{standalone}
\usetikzlibrary{patterns}
%
\begin{document}
%
\begin{tikzpicture}
%
    \pattern[pattern=north east lines] (0,0)--(0,1)--(1,1)--(1,0)--cycle;
    \draw[dashed] (0,2) -- (1,2);
%
\end{tikzpicture}%
%
\end{document}

enter image description here