Package org.geotools.styling

Examples of org.geotools.styling.ImageOutline


    public void visit(ImageOutline outline) {
        //copy the symbolizer
        final Symbolizer symb = outline.getSymbolizer();
        final Symbolizer copySymb = copy(symb);

        final ImageOutline copy = sf.createImageOutline(copySymb);
        copy.setSymbolizer(copySymb);
        if (STRICT && !copy.equals(outline)) {
            throw new IllegalStateException("Was unable to duplicate provided ImageOutline:" + outline);
        }
        pages.push(copy);

    }
View Full Code Here


            rs.setShadedRelief((ShadedRelief) node.getChildValue("ShadedRelief"));
        }

        //<xsd:element ref="sld:ImageOutline" minOccurs="0"/>
        if (node.hasChild("ImageOutline")) {
            ImageOutline imageOutput = (ImageOutline) node.getChildValue("ImageOutline");
            rs.setImageOutline(imageOutput.getSymbolizer());
        }

        return rs;
    }
View Full Code Here

TOP

Related Classes of org.geotools.styling.ImageOutline

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.