Package com.itextpdf.kernel.pdf.function
Interface IPdfFunction
-
- All Known Implementing Classes:
AbstractPdfFunction
,PdfType0Function
,PdfType2Function
,PdfType3Function
,PdfType4Function
public interface IPdfFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]
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)
PdfObject
getAsPdfObject()
double[]
getDomain()
int
getFunctionType()
int
getInputSize()
int
getOutputSize()
double[]
getRange()
void
setDomain(double[] value)
void
setRange(double[] value)
-
-
-
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 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 java.io.IOException
- Throws:
java.io.IOException
-
calculateFromByteArray
byte[] calculateFromByteArray(byte[] bytes, int offset, int length, int wordSizeInputLength, int wordSizeOutputLength, BaseInputOutPutConvertors.IInputConversionFunction inputConvertor, BaseInputOutPutConvertors.IOutputConversionFunction outputConvertor) throws java.io.IOException
- Throws:
java.io.IOException
-
clipInput
double[] clipInput(double[] input)
-
clipOutput
double[] clipOutput(double[] input)
-
getAsPdfObject
PdfObject getAsPdfObject()
-
-