Class SVGProcessor
java.lang.Object
de.erichseifert.vectorgraphics2d.svg.SVGProcessor
- All Implemented Interfaces:
Processor
Processor
implementation that translates CommandSequence
s to
a Document
in the Scaled Vector Graphics (SVG) format.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocument
(CommandSequence commands, PageSize pageSize) Constructs aDocument
from the specified commands.
-
Constructor Details
-
SVGProcessor
public SVGProcessor()Initializes anSVGProcessor
.
-
-
Method Details
-
getDocument
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.
-