com.vividsolutions.jump.workbench.ui
Class LayerPrinter

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.LayerPrinter

public class LayerPrinter
extends java.lang.Object

Renders layers as an Image, which can then be saved to a file or printed.


Constructor Summary
LayerPrinter()
           
 
Method Summary
 java.awt.image.BufferedImage print(java.util.Collection layers, com.vividsolutions.jts.geom.Envelope envelope, int extentInPixels)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerPrinter

public LayerPrinter()
Method Detail

print

public java.awt.image.BufferedImage print(java.util.Collection layers,
                                          com.vividsolutions.jts.geom.Envelope envelope,
                                          int extentInPixels)
                                   throws java.lang.Exception
Parameters:
layers - earlier layers will be rendered above later layers
Throws:
java.lang.Exception