\documentclass{article}
\usepackage[dvipsone]{hyperref}% dvipsone, textures
\pagestyle{empty}
\begin{document}
\refstepcounter{section}
\label{section}
\hypersetup{pdfborder={0 0 1 [2 3]}}
\hyperref[section]{\rule{20bp}{5bp}}
\par\vspace{100bp}
\hypersetup{pdfborder={100 100 100 [200 300]}}
\hyperref[section]{\rule{20bp}{5bp}}
\end{document}
