~ubuntu-branches/debian/squeeze/latexdraw/squeeze

« back to all changes in this revision

Viewing changes to latexDraw/figures/properties/DoubleBoundaryable.java

  • Committer: Bazaar Package Importer
  • Author(s): Stuart Prescott
  • Date: 2009-05-03 23:49:35 UTC
  • Revision ID: james.westby@ubuntu.com-20090503234935-cls7n48x018g0vk2
Tags: upstream-2.0.2+1
ImportĀ upstreamĀ versionĀ 2.0.2+1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package latexDraw.figures.properties;
 
2
 
 
3
import java.awt.Shape;
 
4
 
 
5
/** 
 
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).
 
10
 *<br>
 
11
 * This file is part of LaTeXDraw<br>
 
12
 * Copyright (c) 2005-2008 Arnaud BLOUIN<br>
 
13
 *<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>
 
18
 *<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>
 
22
 *<br>
 
23
 * 01/20/06<br>
 
24
 * @author Arnaud BLOUIN<br>
 
25
 * @version 2.0.0<br>
 
26
 */
 
27
public interface DoubleBoundaryable
 
28
{
 
29
        /**
 
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).
 
34
         */
 
35
        public Shape[] getDbleBoundariesOutside(Shape classicBord);
 
36
        
 
37
        
 
38
        
 
39
        /**
 
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).
 
44
         */
 
45
        public Shape[] getDbleBoundariesInside(Shape classicBord);
 
46
        
 
47
        
 
48
        
 
49
        /**
 
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).
 
54
         */
 
55
        public Shape[] getDbleBoundariesMiddle(Shape classicBord);
 
56
        
 
57
        
 
58
        
 
59
        
 
60
        /**
 
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
 
64
         */
 
65
        public Shape[] getDbleBoundariesOutInOrMiddle(Shape classicBord);
 
66
}