Package org.openjump.core.ui.plugin.file
Class LayerPrinter2
- java.lang.Object
-
- org.openjump.core.ui.plugin.file.LayerPrinter2
-
public class LayerPrinter2 extends Object
Renders layers as an Image, which can then be saved to a file or printed.
-
-
Constructor Summary
Constructors Constructor Description LayerPrinter2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayerViewPanel
getLayerViewPanel()
BufferedImage
print(Collection layers, org.locationtech.jts.geom.Envelope envelope, int extentInPixels)
-
-
-
Method Detail
-
getLayerViewPanel
public LayerViewPanel getLayerViewPanel()
-
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
-
-