Interface IPdfFunction

All Known Implementing Classes:
AbstractPdfFunction, PdfType0Function, PdfType2Function, PdfType3Function, PdfType4Function

public interface IPdfFunction
  • Method Details

    • 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 IOException
      Throws:
      IOException
    • calculateFromByteArray

      byte[] calculateFromByteArray (byte[] bytes, int offset, int length, int wordSizeInputLength, int wordSizeOutputLength, BaseInputOutPutConvertors.IInputConversionFunction inputConvertor, BaseInputOutPutConvertors.IOutputConversionFunction outputConvertor) throws IOException
      Throws:
      IOException
    • clipInput

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

      double[] clipOutput (double[] input)
    • getAsPdfObject

      PdfObject getAsPdfObject()