java.lang.Object
io.sf.carte.echosvg.ext.awt.image.LinearTransfer
- All Implemented Interfaces:
- TransferFunction
LinearTransfer.java
 This class defines the Linear type transfer function for the
 feComponentTransfer filter, as defined in chapter 15, section 11 of the SVG
 specification.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionLinearTransfer(float slope, float intercept) Two floats as the input for the function
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]This method will return the lut data in order to construct a LookUpTable object
- 
Field Details- 
lutDatapublic byte[] lutDataThis byte array stores the lookuptable data
- 
slopepublic float slopeThe slope of the linear function
- 
interceptpublic float interceptThe intercept of the linear function
 
- 
- 
Constructor Details- 
LinearTransferpublic LinearTransfer(float slope, float intercept) Two floats as the input for the function
 
- 
- 
Method Details- 
getLookupTablepublic byte[] getLookupTable()This method will return the lut data in order to construct a LookUpTable object- Specified by:
- getLookupTablein interface- TransferFunction
 
 
-