Package org.locationtech.udig.printing.model.impl

Examples of org.locationtech.udig.printing.model.impl.MapBoxPrinter$State


    }

    private Rectangle addMapBox( Map map, int width, int height, final int labelHeight, int scaleHeight,
            int legendWidth ) {
        Box mapBox = ModelFactory.eINSTANCE.createBox();
        MapBoxPrinter mapBoxPrinter = new MapBoxPrinter();
        mapBox.setID("Standard Map Box"); //$NON-NLS-1$
        mapBox.setBoxPrinter(mapBoxPrinter);
        mapBoxPrinter.setMap(map);

        // calculate mapSize
        int bothMargins = (MARGIN * 2);
        int mapWidth = width - bothMargins - legendWidth-SPACING;
        int labelAndSpacing = labelHeight + SPACING;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.printing.model.impl.MapBoxPrinter$State

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.