Revision 13032 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/styles/IMask.java

View differences:

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
 * @author jaume dominguez faus - jaume.dominguez@iver.es
57 66
 */
58 67
public interface IMask extends IStyle {
68
	/**
69
	 *
70
	 * @return
71
	 */
59 72
	public double getSize();
73
	/**
74
	 *
75
	 * @param size
76
	 */
60 77
	public void setSize(double size);
78
	/**
79
	 *
80
	 * @return
81
	 */
61 82
	public IFillSymbol getFillSymbol();
83
	/**
84
	 *
85
	 * @param fill
86
	 */
62 87
	public void setFillSymbol(IFillSymbol fill);
88
	/**
89
	 *
90
	 * @param shp
91
	 * @return
92
	 */
63 93
	public FShape getHaloShape(Shape shp);
64 94

  
65 95
	class BasicMask extends AbstractStyle implements IMask {

Also available in: Unified diff