summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlcd/demo/color.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/pgf-umlcd/demo/color.tex')
-rw-r--r--graphics/pgf/contrib/pgf-umlcd/demo/color.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/pgf-umlcd/demo/color.tex b/graphics/pgf/contrib/pgf-umlcd/demo/color.tex
new file mode 100644
index 0000000000..798f4ae141
--- /dev/null
+++ b/graphics/pgf/contrib/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