Package org.openscience.jchempaint.renderer.visitor

Examples of org.openscience.jchempaint.renderer.visitor.SVGGenerator


    }

    public String toSVG() {
        IChemModel chemModel = this.hub.getIChemModel();
        if (chemModel != null && chemModel.getMoleculeSet() != null) {
            SVGGenerator svgGenerator = new SVGGenerator();
            this.renderer.paintChemModel(chemModel, svgGenerator);
            return svgGenerator.getResult();
        } else {
            return "<svg></svg>";
        }
    }
View Full Code Here

TOP

Related Classes of org.openscience.jchempaint.renderer.visitor.SVGGenerator

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.