Class SetColor

    • Constructor Detail

      • SetColor

        public SetColor()
    • Method Detail

      • process

        public void process​(Operator operator,
                            java.util.List<COSBase> arguments)
                     throws java.io.IOException
        Description copied from class: OperatorProcessor
        Process the operator.
        Specified by:
        process in class OperatorProcessor
        Parameters:
        operator - the operator to process
        arguments - the operands to use when processing
        Throws:
        java.io.IOException - if the operator cannot be processed
      • getColor

        protected abstract PDColor getColor()
        Returns either the stroking or non-stroking color value.
        Returns:
        The stroking or non-stroking color value.
      • setColor

        protected abstract void setColor​(PDColor color)
        Sets either the stroking or non-stroking color value.
        Parameters:
        color - The stroking or non-stroking color value.
      • getColorSpace

        protected abstract PDColorSpace getColorSpace()
        Returns either the stroking or non-stroking color space.
        Returns:
        The stroking or non-stroking color space.