187 To calculate the start point we have to find out in which |
187 To calculate the start point we have to find out in which |
188 region (defined by itemA's diagonals) is itemB's TopLeft corner |
188 region (defined by itemA's diagonals) is itemB's TopLeft corner |
189 (lets call it region M). After that the start point will be |
189 (lets call it region M). After that the start point will be |
190 the middle point of rectangle's side contained in region M. |
190 the middle point of rectangle's side contained in region M. |
191 </p><p> |
191 </p><p> |
192 To calculate the end point we repeat the above but in the opposite direction |
192 To calculate the end point we repeat the above but in the opposite |
193 (from itemB to itemA) |
193 direction (from itemB to itemA) |
194 </p><a NAME="AssociationItem.__calculateEndingPoints_topToBottom" ID="AssociationItem.__calculateEndingPoints_topToBottom"></a> |
194 </p><a NAME="AssociationItem.__calculateEndingPoints_topToBottom" ID="AssociationItem.__calculateEndingPoints_topToBottom"></a> |
195 <h4>AssociationItem.__calculateEndingPoints_topToBottom</h4> |
195 <h4>AssociationItem.__calculateEndingPoints_topToBottom</h4> |
196 <b>__calculateEndingPoints_topToBottom</b>(<i></i>) |
196 <b>__calculateEndingPoints_topToBottom</b>(<i></i>) |
197 <p> |
197 <p> |
198 Private method to calculate the ending points of the association item. |
198 Private method to calculate the ending points of the association item. |