org.apache.pdfbox.util.operator
Class SetStrokingCalRGBColor

java.lang.Object
  extended by org.apache.pdfbox.util.operator.OperatorProcessor
      extended by org.apache.pdfbox.util.operator.SetStrokingCalRGBColor

public class SetStrokingCalRGBColor
extends OperatorProcessor

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

Version:
$Revision: 1.3 $
Author:
Ben Litchfield

Field Summary
 
Fields inherited from class org.apache.pdfbox.util.operator.OperatorProcessor
context
 
Constructor Summary
SetStrokingCalRGBColor()
           
 
Method Summary
 void process(PDFOperator operator, List<COSBase> arguments)
          RG Set color space for stroking operations.
 
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

SetStrokingCalRGBColor

public SetStrokingCalRGBColor()
Method Detail

process

public void process(PDFOperator operator,
                    List<COSBase> arguments)
             throws IOException
RG Set color space for stroking operations.

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.