Class Type3StreamParser


  • public class Type3StreamParser
    extends PDFStreamEngine
    This class will handle creating an image for a type 3 glyph.
    Version:
    $Revision: 1.10 $
    Author:
    Ben Litchfield
    • Constructor Detail

      • Type3StreamParser

        public Type3StreamParser()
    • Method Detail

      • createImage

        public java.awt.Image createImage​(COSStream type3Stream)
                                   throws java.io.IOException
        This will parse a type3 stream and create an image from it.
        Parameters:
        type3Stream - The stream containing the operators to draw the image.
        Returns:
        The image that was created.
        Throws:
        java.io.IOException - If there is an error processing the stream.
      • processOperator

        protected void processOperator​(PDFOperator operator,
                                       java.util.List arguments)
                                throws java.io.IOException
        This is used to handle an operation.
        Overrides:
        processOperator in class PDFStreamEngine
        Parameters:
        operator - The operation to perform.
        arguments - The list of arguments.
        Throws:
        java.io.IOException - If there is an error processing the operation.