Package org.apache.batik.ext.awt.image
Interface ComponentTransferFunction
- All Known Implementing Classes:
ConcreteComponentTransferFunction
public interface ComponentTransferFunction
Defines the interface expected from a component
transfer function.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfloat
Returns the amplitude value for this transfer functionfloat
Returns the exponent value for this transfer functionfloat
Returns the intercept value for this transfer functionfloat
Returns the offset value for this transfer functionfloat
getSlope()
Returns the slope value for this transfer functionfloat[]
Returns the table values for this transfer functionint
getType()
Returns the type of this transfer function
-
Field Details
-
IDENTITY
static final int IDENTITYThe various transfer types- See Also:
-
TABLE
static final int TABLE- See Also:
-
DISCRETE
static final int DISCRETE- See Also:
-
LINEAR
static final int LINEAR- See Also:
-
GAMMA
static final int GAMMA- See Also:
-
-
Method Details
-
getType
int getType()Returns the type of this transfer function -
getSlope
float getSlope()Returns the slope value for this transfer function -
getTableValues
float[] getTableValues()Returns the table values for this transfer function -
getIntercept
float getIntercept()Returns the intercept value for this transfer function -
getAmplitude
float getAmplitude()Returns the amplitude value for this transfer function -
getExponent
float getExponent()Returns the exponent value for this transfer function -
getOffset
float getOffset()Returns the offset value for this transfer function
-