summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlcd/demo/color.tex
blob: 798f4ae14164aa9f04b0bb4b65c7612b79ec18d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\renewcommand{\umltextcolor}{red}
\renewcommand{\umlfillcolor}{green}
\renewcommand{\umldrawcolor}{blue}

\begin{tikzpicture}
  \begin{class}[text width=8cm]{ClassName}{0,0}
    \attribute{name : attribute type}
    \attribute{name : attribute type = default value}

    \operation{name(parameter list) : type of value returned}
    % virtual operation
    \operation[0]{name(parameters list) : type of value returned}
  \end{class}
\end{tikzpicture}