forked from CC-OOP-Cullain/07_Abstract_Classes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shapes.drawio
150 lines (150 loc) · 16.2 KB
/
shapes.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<mxfile host="65bd71144e">
<diagram id="1_5anNZWqj-V4xLO7_Jg" name="Shapes">
<mxGraphModel dx="606" dy="352" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="Shape" style="swimlane;fontStyle=3;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="240" y="40" width="160" height="70" as="geometry"/>
</mxCell>
<mxCell id="4" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="2" vertex="1">
<mxGeometry y="26" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="5" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="2" vertex="1">
<mxGeometry y="34" width="160" height="36" as="geometry"/>
</mxCell>
<mxCell id="6" value="Rectangle" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="40" y="240" width="160" height="70" as="geometry"/>
</mxCell>
<mxCell id="7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="6" vertex="1">
<mxGeometry y="26" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="8" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="6" vertex="1">
<mxGeometry y="34" width="160" height="36" as="geometry"/>
</mxCell>
<mxCell id="9" value="Circle" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="240" y="240" width="160" height="70" as="geometry"/>
</mxCell>
<mxCell id="10" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="9" vertex="1">
<mxGeometry y="26" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="11" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="9" vertex="1">
<mxGeometry y="34" width="160" height="36" as="geometry"/>
</mxCell>
<mxCell id="12" value="Triangle" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="440" y="240" width="160" height="70" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="12" vertex="1">
<mxGeometry y="26" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="14" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="12" vertex="1">
<mxGeometry y="34" width="160" height="36" as="geometry"/>
</mxCell>
<mxCell id="15" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="6" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="240" y="170" as="sourcePoint"/>
<mxPoint x="290" y="113" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="9" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="130" y="250" as="sourcePoint"/>
<mxPoint x="321" y="113" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="17" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="12" target="5" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="330" y="250" as="sourcePoint"/>
<mxPoint x="320" y="113" as="targetPoint"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram name="Shapes II" id="8aYwglULXiXYkxvqXHIb">
<mxGraphModel dx="606" dy="352" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="mH_aL-SBo71EeqskqtmZ-0"/>
<mxCell id="mH_aL-SBo71EeqskqtmZ-1" parent="mH_aL-SBo71EeqskqtmZ-0"/>
<mxCell id="mH_aL-SBo71EeqskqtmZ-2" value="Shape" style="swimlane;fontStyle=3;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="mH_aL-SBo71EeqskqtmZ-1" vertex="1">
<mxGeometry x="240" y="40" width="160" height="70" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-2" vertex="1">
<mxGeometry y="26" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-4" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-2" vertex="1">
<mxGeometry y="34" width="160" height="36" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-14" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.237;entryY=1.009;entryDx=0;entryDy=0;entryPerimeter=0;" parent="mH_aL-SBo71EeqskqtmZ-1" target="mH_aL-SBo71EeqskqtmZ-4" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="120" y="240" as="sourcePoint"/>
<mxPoint x="290" y="110" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-15" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="mH_aL-SBo71EeqskqtmZ-1" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="320" y="240" as="sourcePoint"/>
<mxPoint x="321" y="110" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-16" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.755;entryY=1.009;entryDx=0;entryDy=0;entryPerimeter=0;" parent="mH_aL-SBo71EeqskqtmZ-1" target="mH_aL-SBo71EeqskqtmZ-4" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="520" y="240" as="sourcePoint"/>
<mxPoint x="320" y="113" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-18" value="Rectangle" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="mH_aL-SBo71EeqskqtmZ-1" vertex="1">
<mxGeometry x="40" y="240" width="160" height="138" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-19" value="- height: double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-18" vertex="1">
<mxGeometry y="26" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-22" value="- width: double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-18" vertex="1">
<mxGeometry y="52" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-20" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-18" vertex="1">
<mxGeometry y="78" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-21" value="+ Rectangle(double, double)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-18" vertex="1">
<mxGeometry y="86" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-23" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-18" vertex="1">
<mxGeometry y="112" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-24" value="Circle" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="mH_aL-SBo71EeqskqtmZ-1" vertex="1">
<mxGeometry x="240" y="240" width="160" height="112" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-25" value="- radius: double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-24" vertex="1">
<mxGeometry y="26" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-27" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-24" vertex="1">
<mxGeometry y="52" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-28" value="+ Circle(double)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-24" vertex="1">
<mxGeometry y="60" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-29" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-24" vertex="1">
<mxGeometry y="86" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-30" value="Triangle" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="mH_aL-SBo71EeqskqtmZ-1" vertex="1">
<mxGeometry x="440" y="240" width="160" height="138" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-31" value="- baseline: double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-30" vertex="1">
<mxGeometry y="26" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-32" value="- height: double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-30" vertex="1">
<mxGeometry y="52" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-33" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-30" vertex="1">
<mxGeometry y="78" width="160" height="8" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-34" value="+ Triangle(double, double)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-30" vertex="1">
<mxGeometry y="86" width="160" height="26" as="geometry"/>
</mxCell>
<mxCell id="mH_aL-SBo71EeqskqtmZ-35" value="+ area(): double" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="mH_aL-SBo71EeqskqtmZ-30" vertex="1">
<mxGeometry y="112" width="160" height="26" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>