Revision 1762 branches/FMap_piloto_CAD_Layout_version/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FGeometry.java
FGeometry.java | ||
---|---|---|
47 | 47 |
package com.iver.cit.gvsig.fmap.core; |
48 | 48 |
|
49 | 49 |
import com.iver.cit.gvsig.fmap.ViewPort; |
50 |
import com.iver.cit.gvsig.fmap.core.v02.FConstant; |
|
50 | 51 |
import com.iver.cit.gvsig.fmap.core.v02.FConverter; |
51 | 52 |
import com.iver.cit.gvsig.fmap.core.v02.FGraphicUtilities; |
52 | 53 |
import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
... | ... | |
57 | 58 |
|
58 | 59 |
import org.cresques.cts.ICoordTrans; |
59 | 60 |
|
61 |
import java.awt.Color; |
|
60 | 62 |
import java.awt.Graphics2D; |
61 | 63 |
import java.awt.geom.AffineTransform; |
62 | 64 |
import java.awt.geom.Point2D; |
... | ... | |
71 | 73 |
public static int SELECTHANDLER=0; |
72 | 74 |
public static int STRETCHINGHANDLER=1; |
73 | 75 |
private FShape shp; |
76 |
private FSymbol symbol=new FSymbol(FConstant.SYMBOL_TYPE_POINT, |
|
77 |
Color.RED); |
|
74 | 78 |
|
75 | 79 |
/** |
76 | 80 |
* Crea un nuevo FGeometry. |
... | ... | |
272 | 276 |
transform(at); |
273 | 277 |
FGraphicUtilities.DrawShape(g, at, shp, symbol); |
274 | 278 |
} |
279 |
|
|
280 |
/** |
|
281 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#getSymbol() |
|
282 |
*/ |
|
283 |
public FSymbol getSymbol() { |
|
284 |
return symbol; |
|
285 |
} |
|
286 |
|
|
287 |
/** |
|
288 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#setSymbol(com.iver.cit.gvsig.fmap.core.v02.FSymbol) |
|
289 |
*/ |
|
290 |
public void setSymbol(FSymbol s) { |
|
291 |
symbol=s; |
|
292 |
} |
|
275 | 293 |
} |
Also available in: Unified diff