Statistics
| Revision:

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

History | View | Annotate | Download (547 Bytes)

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

    
3
import java.awt.Shape;
4

    
5

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

    
17
    /**
18
     * Obtiene el tipo de shape que contiene. Puede ser una
19
     * de las constantes POINT, LINE o POLYGON
20
     *
21
     * @return int
22
     */
23
    public int getShapeType();
24
}