Table of Contents

Interface IPdfFunction

Namespace
iText.Kernel.Pdf.Function
Assembly
itext.kernel.dll
public interface IPdfFunction

Methods

Calculate(double[])

Calculates one set of input components to one set of output components.

double[] Calculate(double[] input)

Parameters

input double[]

The input values size must contain GetInputSize() items

Returns

double[]

an array the size of GetOutputSize() items containing the result

CalculateFromByteArray(byte[], int, int, int, int)

byte[] CalculateFromByteArray(byte[] bytes, int offset, int length, int wordSizeInputLength, int wordSizeOutputLength)

Parameters

bytes byte[]
offset int
length int
wordSizeInputLength int
wordSizeOutputLength int

Returns

byte[]

CalculateFromByteArray(byte[], int, int, int, int, IInputConversionFunction, IOutputConversionFunction)

byte[] CalculateFromByteArray(byte[] bytes, int offset, int length, int wordSizeInputLength, int wordSizeOutputLength, BaseInputOutPutConvertors.IInputConversionFunction inputConvertor, BaseInputOutPutConvertors.IOutputConversionFunction outputConvertor)

Parameters

bytes byte[]
offset int
length int
wordSizeInputLength int
wordSizeOutputLength int
inputConvertor BaseInputOutPutConvertors.IInputConversionFunction
outputConvertor BaseInputOutPutConvertors.IOutputConversionFunction

Returns

byte[]

CheckCompatibilityWithColorSpace(PdfColorSpace)

bool CheckCompatibilityWithColorSpace(PdfColorSpace alternateSpace)

Parameters

alternateSpace PdfColorSpace

Returns

bool

ClipInput(double[])

double[] ClipInput(double[] input)

Parameters

input double[]

Returns

double[]

ClipOutput(double[])

double[] ClipOutput(double[] input)

Parameters

input double[]

Returns

double[]

GetAsPdfObject()

PdfObject GetAsPdfObject()

Returns

PdfObject

GetDomain()

double[] GetDomain()

Returns

double[]

GetFunctionType()

int GetFunctionType()

Returns

int

GetInputSize()

int GetInputSize()

Returns

int

GetOutputSize()

int GetOutputSize()

Returns

int

GetRange()

double[] GetRange()

Returns

double[]

SetDomain(double[])

void SetDomain(double[] value)

Parameters

value double[]

SetRange(double[])

void SetRange(double[] value)

Parameters

value double[]