Class TableTransfer

java.lang.Object
org.apache.batik.ext.awt.image.TableTransfer
All Implemented Interfaces:
TransferFunction

public class TableTransfer extends Object implements TransferFunction
TableTransfer.java This class defines the Table type transfer function for the feComponentTransfer filter, as defined in chapter 15, section 11 of the SVG specification.
Version:
$Id$
  • Field Details

    • lutData

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

      public int[] tableValues
      This int array is the input table values from the user
    • n

      private int n
  • Constructor Details

    • TableTransfer

      public TableTransfer(int[] tableValues)
  • Method Details

    • buildLutData

      private void buildLutData()
    • getLookupTable

      public byte[] getLookupTable()
      This method will return the lut data in order to construct a LookUpTable object
      Specified by:
      getLookupTable in interface TransferFunction