org.pdfbox.pdmodel.font
Class Type3StreamParser

java.lang.Object
  extended byorg.pdfbox.util.PDFStreamEngine
      extended byorg.pdfbox.pdmodel.font.Type3StreamParser

public class Type3StreamParser
extends PDFStreamEngine

This class will handle creating an image for a type 3 glyph.

Version:
$Revision: 1.8 $
Author:
Ben Litchfield (ben@csh.rit.edu)

Constructor Summary
Type3StreamParser()
           
 
Method Summary
 Image createImage(COSStream type3Stream)
          This will parse a type3 stream and create an image from it.
 
Methods inherited from class org.pdfbox.util.PDFStreamEngine
getColorSpaces, getCurrentPage, getFonts, getGraphicsStack, getGraphicsState, getGraphicsStates, getResources, getTextLineMatrix, getTextMatrix, getXObjects, processOperator, processStream, processSubStream, setColorSpaces, setFonts, setGraphicsStack, setGraphicsState, setGraphicsStates, setTextLineMatrix, setTextMatrix, showString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Type3StreamParser

public Type3StreamParser()
Method Detail

createImage

public Image createImage(COSStream type3Stream)
                  throws 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:
IOException - If there is an error processing the stream.


Copyright null EGIZ - E-Government Innovation Center. All Rights Reserved.