Class EPSProcessor

  • All Implemented Interfaces:
    Processor

    public class EPSProcessor
    extends java.lang.Object
    implements Processor
    Processor implementation that translates CommandSequences to a Document in the Encapsulated PostScript® (EPS) format.
    • Constructor Summary

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

      • EPSProcessor

        public EPSProcessor()
        Initializes an EPSProcessor.
    • 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.