root / branches / v2_0_0_prep / libraries / org.gvsig.symbology / org.gvsig.symbology.lib / org.gvsig.symbology.lib.api / src / main / java / org / gvsig / symbology / fmap / mapcontext / rendering / symbol / line / IPictureLineSymbol.java @ 34294
History | View | Annotate | Download (1.39 KB)
1 |
package org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line; |
---|---|
2 |
|
3 |
import java.io.IOException; |
4 |
import java.net.URL; |
5 |
|
6 |
|
7 |
public interface IPictureLineSymbol extends ILineSymbol{ |
8 |
|
9 |
/**
|
10 |
* Sets the URL for the image to be used as a picture line symbol
|
11 |
* @param imageFile, File
|
12 |
* @throws IOException
|
13 |
*/
|
14 |
public abstract void setImage(URL imageUrl) throws IOException; |
15 |
|
16 |
/**
|
17 |
* Sets the URL for the image to be used as a picture line symbol (when it is selected in the map)
|
18 |
* @param imageFile, File
|
19 |
* @throws IOException
|
20 |
*/
|
21 |
public abstract void setSelImage(URL selImageUrl) throws IOException; |
22 |
|
23 |
/**
|
24 |
* Sets the yscale for the picture line symbol
|
25 |
* @param yScale
|
26 |
*/
|
27 |
public abstract void setYScale(double yScale); |
28 |
|
29 |
/**
|
30 |
* Sets the xscale for the picture line symbol
|
31 |
* @param xScale
|
32 |
*/
|
33 |
public abstract void setXScale(double xScale); |
34 |
|
35 |
/**
|
36 |
* Returns the URL of the image that is used as a picture line symbol (when it
|
37 |
* is selected in the map)
|
38 |
* @return selimagePath,URL
|
39 |
*/
|
40 |
public abstract URL getSelectedSource(); |
41 |
|
42 |
/**
|
43 |
* Returns the URL of the image that is used as a picture line symbol
|
44 |
* @return imagePath,URL
|
45 |
*/
|
46 |
public abstract URL getSource(); |
47 |
|
48 |
/**
|
49 |
* Returns the xscale for the picture line symbol
|
50 |
* @param xScale
|
51 |
*/
|
52 |
public abstract double getXScale(); |
53 |
|
54 |
/**
|
55 |
* Returns the yscale for the picture line symbol
|
56 |
* @param yScale
|
57 |
*/
|
58 |
public abstract double getYScale(); |
59 |
|
60 |
} |