public class Export extends Object
| Constructor and Description |
|---|
Export() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportChart(org.jfree.chart.JFreeChart chart,
Rectangle bounds,
File exportFile,
ImageType imageType)
Exports the contents of a JFreeChart to an svg, png, pdf etc.
|
static void |
exportComponent(Component component,
Rectangle bounds,
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,
Rectangle bounds,
File exportFile,
ImageType imageType)
throws IOException,
org.apache.batik.transcoder.TranscoderException
chart - chart to exportbounds - the dimensions of the viewportexportFile - the output fileimageType - the image typeIOExceptionorg.apache.batik.transcoder.TranscoderExceptionpublic static void exportComponent(Component component, Rectangle bounds, File exportFile, ImageType imageType) throws IOException, org.apache.batik.transcoder.TranscoderException
component - component to exportbounds - the dimensions of the viewportexportFile - the output fileimageType - the image typeIOExceptionorg.apache.batik.transcoder.TranscoderExceptionCopyright © 2014. All rights reserved.