summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex
new file mode 100644
index 00000000000..798f4ae1416
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex
@@ -0,0 +1,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} \ No newline at end of file