Package org.locationtech.udig.mapgraphic.grid.GridStyle

Examples of org.locationtech.udig.mapgraphic.grid.GridStyle.Type


        int green = memento.getInteger(GREEN_ID);
        int blue = memento.getInteger(BLUE_ID);
        int alpha = memento.getInteger(ALPHA_ID);
        Color color = new Color(red, green, blue, alpha);

        Type type = Type.valueOf(memento.getString(TYPE_ID));
        double dx = Double.parseDouble(memento.getString(DX_ID));
        double dy = Double.parseDouble(memento.getString(DY_ID));
        return new GridStyle(type, dx, dy, color, lineStyle, lineWidth);
    }
View Full Code Here


            style.setColor((Color) color.getData());
            style.setLineStyle(parseLineStyle());
            style.setLineWidth(lineWidth.getSelection());

            Type type;

            if (xSpacer.getUnit().getSelectionIndex() == 0) {
                type = Type.SCREEN;
            } else {
                type = Type.WORLD;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.mapgraphic.grid.GridStyle.Type

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.