summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-23 19:55:14 +0000
committerKarl Berry <karl@freefriends.org>2022-05-23 19:55:14 +0000
commit9bc5428d15299f7f617a06b76e9dab76044437ce (patch)
treede3efb141dabc5eb909bdbfd98c1ae75dce15320 /Master/texmf-dist/doc/latex/pgf-umlcd/demo/color.tex
parent1d4ce619745b89d1f9a73d075f19d5f2167d8d87 (diff)
pgf-umlcd (23may22)
git-svn-id: svn://tug.org/texlive/trunk@63378 c570f23f-e606-0410-a88d-b1316a301751
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