Revision 13073 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/styles/IMask.java
IMask.java | ||
---|---|---|
53 | 53 |
import com.iver.utiles.XMLEntity; |
54 | 54 |
|
55 | 55 |
/** |
56 |
* This class implements a tab to modify attributes of a mask |
|
57 |
* as style,size and symbol (to represent a point in the map)which can be applied to |
|
58 |
* symbols like simple text, simple marker,picture marker and character marker.<p> |
|
59 |
* <p> |
|
60 |
* This tab is used several times in different places in our applicattion .For |
|
61 |
* this reason, in order to avoid the repetition of code, this class has been |
|
62 |
* created (instead of treat it like a simple tab). With this solution, the user |
|
63 |
* only has to refer it to use it (and do not need to create a tab and fill it again |
|
64 |
* and so on). |
|
56 |
* |
|
65 | 57 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
66 | 58 |
*/ |
67 | 59 |
public interface IMask extends IStyle { |
... | ... | |
87 | 79 |
public void setFillSymbol(IFillSymbol fill); |
88 | 80 |
/** |
89 | 81 |
* |
90 |
* @param shp |
|
91 |
* @return |
|
82 |
* @param shp,Shape
|
|
83 |
* @return FShape
|
|
92 | 84 |
*/ |
93 | 85 |
public FShape getHaloShape(Shape shp); |
94 | 86 |
|
87 |
/** |
|
88 |
* Class that implements the methods of the IMask interface showed above. |
|
89 |
* |
|
90 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
|
91 |
* |
|
92 |
*/ |
|
95 | 93 |
class BasicMask extends AbstractStyle implements IMask { |
96 | 94 |
private double size; |
97 | 95 |
private IFillSymbol fill; |
Also available in: Unified diff