Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / core / FShape.java @ 885

History | View | Annotate | Download (701 Bytes)

1
package com.iver.cit.gvsig.fmap.core;
2

    
3
import java.awt.Shape;
4

    
5
import org.cresques.cts.ICoordTrans;
6

    
7

    
8
/**
9
 * A?ade el tipo de la shape a la interfaz java.awt.Shape
10
 *
11
 */
12
public interface FShape extends Shape {
13
        public final static int NULL = 0;
14
    public final static int POINT = 1;
15
    public final static int LINE = 2;
16
    public final static int POLYGON = 4;
17
    public final static int TEXT = 8;
18
    public final static int MULTI = 16;
19

    
20
    /**
21
     * Obtiene el tipo de shape que contiene. Puede ser una
22
     * de las constantes POINT, LINE o POLYGON
23
     *
24
     * @return int
25
     */
26
    public int getShapeType();
27
    public FShape cloneFShape();
28
    public void reProject(ICoordTrans ct);
29
}