diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-umlcd/demo/abstract-class.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-umlcd/demo/abstract-class.tex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-umlcd/demo/abstract-class.tex b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/abstract-class.tex new file mode 100644 index 00000000000..cdaa3e5a45a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/abstract-class.tex @@ -0,0 +1,9 @@ +\begin{tikzpicture} + \begin{abstractclass}[text width=5cm]{BankAccount}{0,0} + \attribute{owner : String} + \attribute{balance : Dollars = 0} + + \operation{deposit(amount : Dollars)} + \operation[0]{withdrawl(amount : Dollars)} + \end{abstractclass} +\end{tikzpicture}
\ No newline at end of file |