Class SVGExporter
java.lang.Object
org.eclipse.graphiti.export.batik.SVGExporter
- All Implemented Interfaces:
IDiagramsExporter
Extending the Graphiti framework with an export option for SVG.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SVGExporter
public SVGExporter()
-
-
Method Details
-
export
public void export(org.eclipse.swt.graphics.Image im, org.eclipse.draw2d.IFigure figure, String fileName, Double scaleFactor) throws Exception Description copied from interface:IDiagramsExporterExports the graphics using the passed image or figure. Throws a Exception if something goes wrong.- Specified by:
exportin interfaceIDiagramsExporter- Parameters:
im- the image to be exported, the image is already scaledfigure- the figure to be exportedfileName- null or an filenamescaleFactor- the scale factor, can be used to scale the figure- Throws:
Exception
-