Revision 29973 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/layout/geometryadapters/PolygonAdapter.java

View differences:

PolygonAdapter.java
119 119
     * @param symbol DOCUMENT ME!
120 120
     */
121 121
    public void draw(Graphics2D g, AffineTransform at, ISymbol symbol) {
122
        GeneralPathX rectangle = new GeneralPathX(getGeometry());
122
        GeneralPathX rectangle = new GeneralPathX(getGeometry().getPathIterator(null));
123 123
        rectangle.transform(at);
124 124

  
125 125
        Geometry shapeAux;

Also available in: Unified diff