org.apache.batik.ext.awt.image

Class GammaTransfer

public class GammaTransfer extends Object implements 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
floatamplitude
The amplitude of the Gamma function
floatexponent
The exponent of the Gamma function
byte[]lutData
This byte array stores the lookuptable data
floatoffset
The offset of the Gamma function
Constructor Summary
GammaTransfer(float amplitude, float exponent, float offset)
Three floats as the input for the Gamma function
Method Summary
byte[]getLookupTable()
This method will return the lut data in order to construct a LookUpTable object

Field Detail

amplitude

public float amplitude
The amplitude of the Gamma function

exponent

public float exponent
The exponent of the Gamma function

lutData

public byte[] lutData
This byte array stores the lookuptable data

offset

public float offset
The offset of the Gamma function

Constructor Detail

GammaTransfer

public GammaTransfer(float amplitude, float exponent, float offset)
Three floats as the input for the Gamma function

Method Detail

getLookupTable

public byte[] getLookupTable()
This method will return the lut data in order to construct a LookUpTable object
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.