Class PdfCanvasProcessor.ClipPathOperator

  • All Implemented Interfaces:
    IContentOperator
    Enclosing class:
    PdfCanvasProcessor

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

      Fields 
      Modifier and Type Field Description
      private int rule  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClipPathOperator​(int rule)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void invoke​(PdfCanvasProcessor processor, PdfLiteral operator, java.util.List<PdfObject> operands)
      Called when a content operator should be processed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rule

        private int rule
    • Constructor Detail

      • ClipPathOperator

        public ClipPathOperator​(int rule)
    • 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:
        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.