public final class ExponentialInterpolationFunction extends Function
dictionary
Constructor and Description |
---|
ExponentialInterpolationFunction(int number,
float[] c0,
float[] c1)
Creates a new function.
|
Modifier and Type | Method and Description |
---|---|
float[] |
getC0()
Returns the function result when x is 0.0.
|
float[] |
getC1()
Returns the function result when x is 1.0.
|
double |
getN()
Returns the interpolation exponent.
|
void |
setC0(float[] c0)
Sets the function result to be used when x is 0.0.
|
void |
setC1(float[] c1)
Sets the function result to be used when x is 1.0.
|
void |
setN(double n)
Sets the interpolation exponent.
|
getDomain, getFunctionType, getObjectBytes, setDomain
getGeneration, getNumber, getReference, toPDFBytes
public ExponentialInterpolationFunction(int number, float[] c0, float[] c1)
number
- the PDF object number.c0
- the function result at 0.0.c1
- the function result at 1.0.public double getN()
1
.public void setN(double n)
n
- the new interpolation exponent.public float[] getC0()
public void setC0(float[] c0)
c0
- the function result (null
not permitted).public float[] getC1()
public void setC1(float[] c1)
c1
- the function result (null
not permitted).