Class PdfCanvasProcessor.ClipPathOperator

java.lang.Object
com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor.ClipPathOperator
All Implemented Interfaces:
IContentOperator
Enclosing class:
PdfCanvasProcessor

private static class PdfCanvasProcessor.ClipPathOperator extends Object implements IContentOperator
A handler that implements operator (W, W*). For more information see Table 51 ISO-32000-1
  • Field Details

    • rule

      private int rule
  • Constructor Details

    • ClipPathOperator

      public ClipPathOperator(int rule)
  • Method Details

    • invoke

      public void invoke(PdfCanvasProcessor processor, PdfLiteral operator, List<PdfObject> operands)
      Called when a content operator should be processed.
      Specified by:
      invoke in interface IContentOperator
      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.