Package com.bbn.openmap.layer.specialist

Examples of com.bbn.openmap.layer.specialist.SColor


                properties = loadProps(args[i + 1]);

                lcolor = PropUtils.parseColorFromProperties(properties,
                        lineColorProperty,
                        "FF000000");
                lineColor = new SColor((short) ((lcolor.getRed()) * 65535 / 255), (short) ((lcolor.getGreen()) * 65535 / 255), (short) ((lcolor.getBlue()) * 65535 / 255));
                if (properties.getProperty(fillColorProperty) != null) {

                    fcolor = PropUtils.parseColorFromProperties(properties,
                            fillColorProperty,
                            "FF000000");

                    fillColor = new SColor((short) ((fcolor.getRed()) * 65535 / 255), (short) ((fcolor.getGreen()) * 65535 / 255), (short) ((fcolor.getBlue()) * 65535 / 255));
                }

                String ssx = properties.getProperty(spatialIndexProperty);
                String shp = properties.getProperty(shapeFileProperty);

View Full Code Here


        return ns(r, g, b);
    }

    private static SColor ns(int r, int g, int b) {
        return new SColor((short) (r * 256), (short) (g * 256), (short) (b * 256));
    }
View Full Code Here

TOP

Related Classes of com.bbn.openmap.layer.specialist.SColor

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.