Package org.geotools.geometry.jts

Examples of org.geotools.geometry.jts.LiteShape


    }

    public void drawFeature( ViewportGraphics graphics, SimpleFeature feature, AffineTransform worldToScreenTransform,
            boolean drawVertices, Symbolizer[] symbs, MathTransform mt ) {

        LiteShape shape = new LiteShape(null, worldToScreenTransform, false);
        if (symbs == null)
            return;
        for( int m = 0; m < symbs.length; m++ ) {
            drawFeature(graphics, feature, worldToScreenTransform, drawVertices, symbs[m], mt, shape);
        }
View Full Code Here


    }

    public void drawFeature( BufferedImage bI, SimpleFeature feature, AffineTransform worldToScreenTransform,
            boolean drawVertices, Symbolizer[] symbs, MathTransform mt ) {

        LiteShape shape = new LiteShape(null, worldToScreenTransform, false);
        if (symbs == null)
            return;
        for( int m = 0; m < symbs.length; m++ ) {
            drawFeature(bI, feature, worldToScreenTransform, drawVertices, symbs[m], mt, shape);
        }
View Full Code Here

    }

    public void drawFeature( ViewportGraphics graphics, SimpleFeature feature,
            AffineTransform worldToScreenTransform, boolean drawVertices, Symbolizer[] symbs, MathTransform mt  ) {

        LiteShape shape = new LiteShape(null, worldToScreenTransform, false);
        if( symbs==null )
            return;
        for( int m = 0; m < symbs.length; m++ ) {
            drawFeature(graphics, feature, worldToScreenTransform, drawVertices,
                    symbs[m], mt, shape);           
View Full Code Here

    public void drawFeature(BufferedImage bi, SimpleFeature feature, AffineTransform worldToScreenTransform, boolean drawVertices, Symbolizer[] symbs, MathTransform mt  ) {
        LiteShape shape = new LiteShape(null, worldToScreenTransform, false);
        if( symbs==null )
            return;
        for( int m = 0; m < symbs.length; m++ ) {
            drawFeature(bi, feature, worldToScreenTransform, drawVertices, symbs[m], mt, shape);
        }
View Full Code Here

        public void paintReservedAreas(Graphics2D g2d) {
            g2d.setStroke(new BasicStroke(0.5f));
            g2d.setColor(Color.LIGHT_GRAY);
            g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.XOR));
            for (Object bound : qt.queryAll()) {
                LiteShape ls = new LiteShape((Geometry) bound, new AffineTransform(), false);
                g2d.draw(ls);
            }
        }
View Full Code Here

            LOGGER.info("This is not recognised a WKT symbol: " + wellKnown);
        }

        // Creates and return the symbol
        WKTReader2 reader = new WKTReader2();
        LiteShape shape = new LiteShape(reader.read(wkt), null, false);
        LOGGER.info("Created symbol from WKT " + wkt);
        return shape;
    }
View Full Code Here

            }

            // do not generalize in LiteShape, it affects the expected masked pixels
            boolean generalize = false;
            // shape used identity transform, as the geometry is already projected
            Shape shape = new LiteShape(bufferedGeomInGridCrs, IDENTITY, generalize);

            Graphics2D graphics = getGraphics(level);
            /*
             * Disable antialiasing explicitly, otherwise the rendering will pick the platform's
             * default potentially producing missing pixels
View Full Code Here

TOP

Related Classes of org.geotools.geometry.jts.LiteShape

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.