Revision 37201 branches/v2_0_0_prep/libraries/org.gvsig.symbology/org.gvsig.symbology.lib/org.gvsig.symbology.lib.impl/src/main/java/org/gvsig/symbology/fmap/mapcontext/rendering/symbol/fill/impl/SimpleFillSymbol.java
SimpleFillSymbol.java | ||
---|---|---|
82 | 82 |
public void draw(Graphics2D g, AffineTransform affineTransform, |
83 | 83 |
Geometry geom, Feature feature, Cancellable cancel) { |
84 | 84 |
Color c = getFillColor(); |
85 |
Geometry geomToDraw = geom.cloneGeometry(); |
|
85 |
|
|
86 | 86 |
if (c!=null && hasFill()) { |
87 | 87 |
g.setColor(c); |
88 |
g.fill(geomToDraw.getShape(affineTransform));
|
|
88 |
g.fill(geom.getShape(affineTransform)); |
|
89 | 89 |
} |
90 | 90 |
if (getOutline() != null && hasOutline()) { |
91 | 91 |
getOutline().draw(g, affineTransform, geom, feature, cancel); |
Also available in: Unified diff