\listfiles
\documentclass{jarticle}
\usepackage{dashrule}

\begin{document}

\setlength{\parskip}{8pt}
X\hdashrule{2cm}{1pt}{1pt}x

X\hdashrule{4cm}{1pt}{1pt}x

X\hdashrule[0.5ex]{4cm}{1pt}{1pt}x

X\hdashrule[0.5ex]{4cm}{1pt}{3mm}x

X\hdashrule[0.5ex]{4cm}{1mm}{3mm}x

X\hdashrule[0.5ex]{4cm}{1mm}{3mm 3pt}x

X\hdashrule[0.5ex]{4cm}{1mm}{3mm 3pt 1mm 2pt}x

X\hdashrule[0.5ex]{4cm}{1mm}{8mm 2pt}x

X\hdashrule[0.5ex]{3cm}{1mm}{8mm 2pt}x

X\hdashrule[0.5ex][c]{4cm}{1mm}{8mm 2pt}x

X\hdashrule[0.5ex][c]{3cm}{1mm}{8mm 2pt}x

X\hdashrule[0.5ex][x]{4cm}{1mm}{8mm 2pt}x

X\hdashrule[0.5ex][x]{3cm}{1mm}{8mm 2pt}x

\end{document}
