Revision 9524 branches/piloto3d/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FPolygon2D.java
FPolygon2D.java | ||
---|---|---|
72 | 72 |
public FShape cloneFShape() { |
73 | 73 |
return new FPolygon2D((GeneralPathX) gp.clone()); |
74 | 74 |
} |
75 |
|
|
76 |
/** |
|
77 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D, |
|
78 |
* ViewPort, org.geotools.renderer.style.Style2D) |
|
79 |
*/ |
|
80 |
|
|
81 |
/* public void draw(Graphics2D g, ViewPort vp, Style2D symbol) { |
|
82 |
gp.transform(vp.getAffineTransform()); |
|
83 |
|
|
84 |
g.setPaint(Color.red); |
|
85 |
g.fill(gp); |
|
86 |
g.setPaint(Color.black); |
|
87 |
g.draw(gp); |
|
88 |
} */ |
|
89 | 75 |
/* (non-Javadoc) |
90 | 76 |
* @see java.awt.Shape#intersects(java.awt.geom.Rectangle2D) |
91 | 77 |
*/ |
Also available in: Unified diff