org.apache.pdfbox.util.operator
Class SetLineWidth

java.lang.Object
  extended by org.apache.pdfbox.util.operator.OperatorProcessor
      extended by org.apache.pdfbox.util.operator.SetLineWidth
Direct Known Subclasses:
SetLineWidth

public class SetLineWidth
extends OperatorProcessor

Structal modification of the PDFEngine class : the long sequence of conditions in processOperator is remplaced by this strategy pattern.

Version:
$Revision: 1.5 $
Author:
Ben Litchfield

Field Summary
 
Fields inherited from class org.apache.pdfbox.util.operator.OperatorProcessor
context
 
Constructor Summary
SetLineWidth()
           
 
Method Summary
 void process(PDFOperator operator, List<COSBase> arguments)
          w Set line width.
 
Methods inherited from class org.apache.pdfbox.util.operator.OperatorProcessor
getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetLineWidth

public SetLineWidth()
Method Detail

process

public void process(PDFOperator operator,
                    List<COSBase> arguments)
             throws IOException
w Set line width.

Specified by:
process in class OperatorProcessor
Parameters:
operator - The operator that is being executed.
arguments - List
Throws:
IOException - If an error occurs while processing the font.


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.