Class SVGProcessor
- java.lang.Object
-
- de.erichseifert.vectorgraphics2d.svg.SVGProcessor
-
- All Implemented Interfaces:
Processor
public class SVGProcessor extends java.lang.Object implements Processor
Processorimplementation that translatesCommandSequences to aDocumentin the Scaled Vector Graphics (SVG) format.
-
-
Constructor Summary
Constructors Constructor Description SVGProcessor()Initializes anSVGProcessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentgetDocument(CommandSequence commands, PageSize pageSize)Constructs aDocumentfrom the specified commands.
-
-
-
Method Detail
-
getDocument
public Document getDocument(CommandSequence commands, PageSize pageSize)
Description copied from interface:ProcessorConstructs aDocumentfrom the specified commands.- Specified by:
getDocumentin interfaceProcessor- Parameters:
commands- Commands used to create theDocument.pageSize- Size of the resultingDocument.- Returns:
Documentrepresentation of the commands.
-
-