Interface IPdfFunction

    • Method Detail

      • getFunctionType

        int getFunctionType()
      • checkCompatibilityWithColorSpace

        boolean checkCompatibilityWithColorSpace​(PdfColorSpace alternateSpace)
      • getInputSize

        int getInputSize()
      • getOutputSize

        int getOutputSize()
      • getDomain

        double[] getDomain()
      • setDomain

        void setDomain​(double[] value)
      • getRange

        double[] getRange()
      • setRange

        void setRange​(double[] value)
      • calculate

        double[] calculate​(double[] input)
        Calculates one set of input components to one set of output components.
        Parameters:
        input - The input values size must contain getInputSize() items
        Returns:
        an array the size of getOutputSize() items containing the result
      • calculateFromByteArray

        byte[] calculateFromByteArray​(byte[] bytes,
                                      int offset,
                                      int length,
                                      int wordSizeInputLength,
                                      int wordSizeOutputLength)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • clipInput

        double[] clipInput​(double[] input)
      • clipOutput

        double[] clipOutput​(double[] input)