Package com.itextpdf.kernel.pdf.function
Interface IPdfFunction
- All Known Implementing Classes:
-
AbstractPdfFunction
,PdfType0Function
,PdfType2Function
,PdfType3Function
,PdfType4Function
public interface IPdfFunction
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
calculate
(double[] input) Calculates one set of input components to one set of output components.byte[]
calculateFromByteArray
(byte[] bytes, int offset, int length, int wordSizeInputLength, int wordSizeOutputLength) byte[]
calculateFromByteArray
(byte[] bytes, int offset, int length, int wordSizeInputLength, int wordSizeOutputLength, BaseInputOutPutConvertors.IInputConversionFunction inputConvertor, BaseInputOutPutConvertors.IOutputConversionFunction outputConvertor) boolean
checkCompatibilityWithColorSpace
(PdfColorSpace alternateSpace) double[]
clipInput
(double[] input) double[]
clipOutput
(double[] input) double[]
int
int
int
double[]
getRange()
void
setDomain
(double[] value) void
setRange
(double[] value)
-
Method Details
-
getFunctionType
int getFunctionType() -
checkCompatibilityWithColorSpace
-
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 containgetInputSize()
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()
-