Class SVGProcessor

java.lang.Object
de.erichseifert.vectorgraphics2d.svg.SVGProcessor
All Implemented Interfaces:
Processor

public class SVGProcessor extends Object implements Processor
Processor implementation that translates CommandSequences to a Document in the Scaled Vector Graphics (SVG) format.
  • Constructor Details

    • SVGProcessor

      public SVGProcessor()
      Initializes an SVGProcessor.
  • Method Details

    • getDocument

      public Document getDocument(CommandSequence commands, PageSize pageSize)
      Description copied from interface: Processor
      Constructs a Document from the specified commands.
      Specified by:
      getDocument in interface Processor
      Parameters:
      commands - Commands used to create the Document.
      pageSize - Size of the resulting Document.
      Returns:
      Document representation of the commands.