public class Export
extends java.lang.Object
| Constructor and Description |
|---|
Export() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportChart(org.jfree.chart.JFreeChart chart,
java.awt.Rectangle bounds,
java.io.File exportFile,
ImageType imageType)
Exports the contents of a JFreeChart to an svg, png, pdf etc.
|
static void |
exportComponent(java.awt.Component component,
java.awt.Rectangle bounds,
java.io.File exportFile,
ImageType imageType)
Exports the contents of a Component to an svg, png, pdf etc.
|
public static void exportChart(org.jfree.chart.JFreeChart chart,
java.awt.Rectangle bounds,
java.io.File exportFile,
ImageType imageType)
throws java.io.IOException,
org.apache.batik.transcoder.TranscoderException
chart - chart to exportbounds - the dimensions of the viewportexportFile - the output fileimageType - the image typejava.io.IOExceptionorg.apache.batik.transcoder.TranscoderExceptionpublic static void exportComponent(java.awt.Component component,
java.awt.Rectangle bounds,
java.io.File exportFile,
ImageType imageType)
throws java.io.IOException,
org.apache.batik.transcoder.TranscoderException
component - component to exportbounds - the dimensions of the viewportexportFile - the output fileimageType - the image typejava.io.IOExceptionorg.apache.batik.transcoder.TranscoderExceptionCopyright © 2014. All Rights Reserved.