Class SVGProcessor
- java.lang.Object
-
- de.erichseifert.vectorgraphics2d.svg.SVGProcessor
-
- All Implemented Interfaces:
Processor
public class SVGProcessor extends java.lang.Object implements Processor
Processor
implementation that translatesCommandSequence
s to aDocument
in 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 Document
getDocument(CommandSequence commands, PageSize pageSize)
Constructs aDocument
from the specified commands.
-
-
-
Method Detail
-
getDocument
public Document getDocument(CommandSequence commands, PageSize pageSize)
Description copied from interface:Processor
Constructs aDocument
from the specified commands.- Specified by:
getDocument
in interfaceProcessor
- Parameters:
commands
- Commands used to create theDocument
.pageSize
- Size of the resultingDocument
.- Returns:
Document
representation of the commands.
-
-