com.iver.cit.gvsig.fmap.core
Interface FShape

All Superinterfaces:
java.awt.Shape
All Known Implementing Classes:
FPoint2D, FPolyline2D

public interface FShape
extends java.awt.Shape

Añade el tipo de la shape a la interfaz java.awt.Shape


Field Summary
static int LINE
           
static int MULTI
           
static int NULL
           
static int POINT
           
static int POLYGON
           
static int TEXT
           
 
Method Summary
 FShape cloneFShape()
          Clona FShape.
 int getShapeType()
          Obtiene el tipo de shape que contiene.
 void reProject(ICoordTrans ct)
          Reprojecta el FShape.
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects
 

Field Detail

NULL

public static final int NULL
See Also:
Constant Field Values

POINT

public static final int POINT
See Also:
Constant Field Values

LINE

public static final int LINE
See Also:
Constant Field Values

POLYGON

public static final int POLYGON
See Also:
Constant Field Values

TEXT

public static final int TEXT
See Also:
Constant Field Values

MULTI

public static final int MULTI
See Also:
Constant Field Values
Method Detail

getShapeType

public int getShapeType()
Obtiene el tipo de shape que contiene. Puede ser una de las constantes POINT, LINE o POLYGON

Returns:
int

cloneFShape

public FShape cloneFShape()
Clona FShape.

Returns:
FShape clonado.

reProject

public void reProject(ICoordTrans ct)
Reprojecta el FShape.

Parameters:
ct - Coordenadas de transformación.