Class LayerPrinter


  • public class LayerPrinter
    extends Object
    Renders layers as an Image, which can then be saved to a file or printed.
    • Constructor Detail

      • LayerPrinter

        public LayerPrinter()
    • Method Detail

      • print

        public BufferedImage print​(Collection layers,
                                   org.locationtech.jts.geom.Envelope envelope,
                                   int extentInPixels)
                            throws Exception
        Parameters:
        layers - earlier layers will be rendered above later layers
        Throws:
        Exception