unit={{0,0},{0,3},{3,3},{3,1},{2,1},{2,2},{1,2},{1,0},{4,0}};
meander=Line[Join[unit,(#+{4,0})& /@ unit,(#+{8,0})& /@ unit]];
Graphics[{Thickness[.04],Darker[Magenta,.6],
JoinForm["Round"],CapForm["Round"],meander,
JoinForm["Miter"],CapForm["Square"],Translate[meander,{0,5}],
JoinForm["Bevel"],CapForm["Butt"],Translate[meander,{0,10}]
},PlotRangePadding->.3]