org.openjump.core.ui.plugin.file
Class LayerPrinter2

java.lang.Object
  extended by org.openjump.core.ui.plugin.file.LayerPrinter2

public class LayerPrinter2
extends java.lang.Object

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


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

Constructor Detail

LayerPrinter2

public LayerPrinter2()
Method Detail

getLayerViewPanel

public LayerViewPanel getLayerViewPanel()

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