1
package latexDraw.figures.properties;
6
* This class define a properties of figures : if the figure can have
7
* double boundaries, then these methods allows the user to get the two of
8
* three borders of the double boundaries (the third boundary is the classic
9
* borders of the figure).
11
* This file is part of LaTeXDraw<br>
12
* Copyright (c) 2005-2008 Arnaud BLOUIN<br>
14
* LaTeXDraw is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 2 of the License, or
17
* (at your option) any later version.<br>
19
* LaTeXDraw is distributed without any warranty; without even the
20
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
21
* PURPOSE. See the GNU General Public License for more details.<br>
24
* @author Arnaud BLOUIN<br>
27
public interface DoubleBoundaryable
30
* Allows to get the two others borders of the double boundary
31
* @param classicBord The initial border
32
* @return The two others borders of the double boundary (shape[0] is the
33
* bigger of the two borders).
35
public Shape[] getDbleBoundariesOutside(Shape classicBord);
40
* Allows to get the two others borders of the double boundary
41
* @param classicBord The initial border
42
* @return The two others borders of the double boundary (shape[0] is the
43
* bigger of the two borders).
45
public Shape[] getDbleBoundariesInside(Shape classicBord);
50
* Allows to get the two others borders of the double boundary
51
* @param classicBord The initial border
52
* @return The two others borders of the double boundary (shape[0] is the
53
* bigger of the two borders).
55
public Shape[] getDbleBoundariesMiddle(Shape classicBord);
61
* Allows to get the two others borders of the figure according to the position
62
* of the borders: inside, outside or in the middle.
63
* @return The two others borders
65
public Shape[] getDbleBoundariesOutInOrMiddle(Shape classicBord);