Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / rendering / styling / FlineStyle2D.java @ 243

History | View | Annotate | Download (1.31 KB)

1
/*
2
 * Created on 22-nov-2004
3
 *
4
 * TODO To change the template for this generated file go to
5
 * Window - Preferences - Java - Code Generation - Code and Comments
6
 */
7
package com.iver.cit.gvsig.fmap.rendering.styling;
8

    
9
import java.awt.Composite;
10
import java.awt.Paint;
11
import java.awt.Stroke;
12
import java.awt.image.BufferedImage;
13

    
14
import org.geotools.renderer.style.LineStyle2D;
15

    
16
/**
17
 * @author FJP
18
 *
19
 * TODO To change the template for this generated type comment go to
20
 * Window - Preferences - Java - Code Generation - Code and Comments
21
 * 
22
 * Las llamadas "set..." a los m?todos de LineStyle2D se sobrecargan para
23
 * que se recalcule el RGB cada vez que se ejecuten.
24
 */
25
public class FlineStyle2D extends LineStyle2D {
26

    
27
        /**
28
         * RGB (incluye transparencia) que se utilizar? para la aceleraci?n gr?fica
29
         */
30
        private int rgb;
31
        
32
        public void setContour(Paint contour) {
33
                super.setContour(contour);
34
        }
35
        public void setContourComposite(Composite contourComposite) {
36
                super.setContourComposite(contourComposite);
37
        }
38
        public void setGraphicStroke(BufferedImage graphicStroke) {
39
                super.setGraphicStroke(graphicStroke);
40
        }
41
        public void setStroke(Stroke stroke) {
42
                super.setStroke(stroke);
43
        }
44

    
45
        /**
46
         * @return Returns the rgb (incluye transparencia) que se utilizar? para la aceleraci?n gr?fica.
47
         */
48
        public int getRgb() {
49
                return rgb;
50
        }
51
}