Tikz:線のスタイル

Table of Contents

コード

\documentclass[border=5pt]{standalone}
\def\pgfsysdriver{pgfsys-pdftex.def}
\usepackage[usenames,dvipsnames,svgnames,x11names,table]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,automata,shadows,fit,shapes,patterns,fadings}
\usetikzlibrary{shadows,calc}
\begin{document}
\begin{tikzpicture}
\draw[ultra thick,lime] (0,0) -- (5,0)node[midway,above]{ultra thick};
\draw[dashed,lime]         (0,1) -- (5,1)node[midway,above]{dashed};
\draw[densely dashed,lime] (0,2) -- (5,2)node[midway,above]{densely dashed};
\draw[dotted,lime]         (0,3) -- (5,3)node[midway,above]{dotted};
\end{tikzpicture}
\end{document}

関連

線の上沿ってに文字を描く

サポートサイト Wikidot.com