Interface IPdfFunction
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
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
intlength
intwordSizeInputLength
intwordSizeOutputLength
intinputConvertor
BaseInputOutPutConvertors.IInputConversionFunctionoutputConvertor
BaseInputOutPutConvertors.IOutputConversionFunction
Returns
- byte[]
CheckCompatibilityWithColorSpace(PdfColorSpace)
bool CheckCompatibilityWithColorSpace(PdfColorSpace alternateSpace)
Parameters
alternateSpace
PdfColorSpace
Returns
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
GetDomain()
double[] GetDomain()
Returns
- double[]
GetFunctionType()
int GetFunctionType()
Returns
GetInputSize()
int GetInputSize()
Returns
GetOutputSize()
int GetOutputSize()
Returns
GetRange()
double[] GetRange()
Returns
- double[]
SetDomain(double[])
void SetDomain(double[] value)
Parameters
value
double[]
SetRange(double[])
void SetRange(double[] value)
Parameters
value
double[]