Class TableTransfer

  • All Implemented Interfaces:
    TransferFunction

    public class TableTransfer
    extends java.lang.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: TableTransfer.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] lutData
      This byte array stores the lookuptable data
      private int n  
      int[] tableValues
      This int array is the input table values from the user
    • Constructor Summary

      Constructors 
      Constructor Description
      TableTransfer​(int[] tableValues)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void buildLutData()  
      byte[] getLookupTable()
      This method will return the lut data in order to construct a LookUpTable object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • TableTransfer

        public TableTransfer​(int[] tableValues)
    • Method Detail

      • 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