Class PdfCanvasProcessor.PaintPathOperator
- java.lang.Object
-
- com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor.PaintPathOperator
-
- All Implemented Interfaces:
IContentOperator
- Enclosing class:
- PdfCanvasProcessor
private static class PdfCanvasProcessor.PaintPathOperator extends java.lang.Object implements IContentOperator
A handler that implements operator (S, s, f, F, f*, B, B*, b, b*). For more information see Table 51 ISO-32000-1
-
-
Constructor Summary
Constructors Constructor Description PaintPathOperator(int operation, int rule, boolean close)Constructs PainPath object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvoke(PdfCanvasProcessor processor, PdfLiteral operator, java.util.List<PdfObject> operands)Called when a content operator should be processed.
-
-
-
Constructor Detail
-
PaintPathOperator
public PaintPathOperator(int operation, int rule, boolean close)Constructs PainPath object.- Parameters:
operation- One of the possible combinations ofPathRenderInfo.STROKEandPathRenderInfo.FILLvalues orPathRenderInfo.NO_OPrule- EitherPdfCanvasConstants.FillingRule.NONZERO_WINDINGorPdfCanvasConstants.FillingRule.EVEN_ODDIn case it isn't applicable pass any value.close- Indicates whether the path should be closed or not.
-
-
Method Detail
-
invoke
public void invoke(PdfCanvasProcessor processor, PdfLiteral operator, java.util.List<PdfObject> operands)
Called when a content operator should be processed.- Specified by:
invokein interfaceIContentOperator- Parameters:
processor- The processor that is dealing with the PDF content stream.operator- The literal PDF syntax of the operator.operands- The operands that come with the operator.
-
-