Package org.geotools.styling.visitor

Examples of org.geotools.styling.visitor.RescaleStyleVisitor.visit()


        Symbolizer rescaled = symbolizer;
        if (estimatedSize > w || estimatedSize > h) {
          // rescale necessary
          double scale = Math.min(w, h) / estimatedSize;
          RescaleStyleVisitor rescaler = new RescaleStyleVisitor(scale);
          rescaler.visit(symbolizer);
          rescaled = (Symbolizer) rescaler.getCopy();
        }
        Style2D style2d = styleFactory.createStyle(sample, rescaled, scaleRange);
        LiteShape2 shape = createShape(symbolizer, w, h);
        if (style2d != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.