summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-8.mp
blob: f335630d2bb8be975539c3915c95fce764d01d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% --- start of displayed preamble in the book ---
input metauml
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
Class.A("MyClass")
  ("attr1: int", "attr2: int")
  ("method1(): void", "method2(): void");
A.nw=(0,0);
drawObject(A);
endfig;
end;