Class SVGProcessor

  • All Implemented Interfaces:
    Processor

    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 Summary

      Constructors 
      Constructor Description
      SVGProcessor()
      Initializes an SVGProcessor.
    • Constructor Detail

      • SVGProcessor

        public SVGProcessor()
        Initializes an SVGProcessor.
    • Method Detail

      • 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.