Package com.itextpdf.text.pdf.parser
Class PdfContentStreamProcessor.ClipPath
java.lang.Object
com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.ClipPath
- All Implemented Interfaces:
ContentOperator
- Enclosing class:
PdfContentStreamProcessor
A content operator implementation (W, W*)
- Since:
- 5.5.6
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList<PdfObject> operands) Invokes a content operator.
-
Field Details
-
rule
private int rule
-
-
Constructor Details
-
ClipPath
public ClipPath(int rule)
-
-
Method Details
-
invoke
public void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList<PdfObject> operands) throws Exception Description copied from interface:ContentOperatorInvokes a content operator.- Specified by:
invokein interfaceContentOperator- Parameters:
processor- the processor that is dealing with the PDF contentoperator- the literal PDF syntax of the operatoroperands- the operands that come with the operator- Throws:
Exception- any exception can be thrown - it will be re-packaged into a runtime exception and re-thrown by thePdfContentStreamProcessor
-