Package org.apache.batik.ext.awt.image
Class GammaTransfer
java.lang.Object
org.apache.batik.ext.awt.image.GammaTransfer
- All Implemented Interfaces:
TransferFunction
GammaTransfer.java
This class defines the Gamma type transfer function for the
feComponentTransfer filter, as defined in chapter 15, section 11 of the SVG
specification.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGammaTransfer
(float amplitude, float exponent, float offset) Three floats as the input for the Gamma function -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
This method will return the lut data in order to construct a LookUpTable object
-
Field Details
-
lutData
public byte[] lutDataThis byte array stores the lookuptable data -
amplitude
public float amplitudeThe amplitude of the Gamma function -
exponent
public float exponentThe exponent of the Gamma function -
offset
public float offsetThe offset of the Gamma function
-
-
Constructor Details
-
GammaTransfer
public GammaTransfer(float amplitude, float exponent, float offset) Three floats as the input for the Gamma function
-
-
Method Details
-
getLookupTable
public byte[] getLookupTable()This method will return the lut data in order to construct a LookUpTable object- Specified by:
getLookupTable
in interfaceTransferFunction
-