\documentclass[tikz,border=10pt]{standalone} \begin{document} \begin{tikzpicture} \draw[rounded corners=4pt] (0,0) -- (3,0) -- (3,0.3) -- (6,0.3); \draw[red,line width=0.1pt] (0.0000,0.0000) -- (0.0000,-0.0200); \draw[red,line width=0.1pt] (3.0000,0.0000) -- (3.0000,-0.0200); \draw[red,line width=0.1pt] (3.0000,0.3000) -- (3.0000,0.2800); \draw[red,line width=0.1pt] (6.0000,0.3000) -- (6.0000,0.2800); \end{tikzpicture} \end{document}