public class SVGProcessor extends java.lang.Object implements Processor
Processor implementation that translates CommandSequences to
a Document in the Scaled Vector Graphics (SVG) format.| Constructor and Description |
|---|
SVGProcessor()
Initializes an
SVGProcessor. |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument(CommandSequence commands,
PageSize pageSize)
Constructs a
Document from the specified commands. |
public Document getDocument(CommandSequence commands, PageSize pageSize)
ProcessorDocument from the specified commands.getDocument in interface Processorcommands - Commands used to create the Document.pageSize - Size of the resulting Document.Document representation of the commands.