|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.ext.awt.image.LinearTransfer
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 Summary | |
float |
intercept
The intercept of the linear function |
byte[] |
lutData
This byte array stores the lookuptable data |
float |
slope
The slope of the linear function |
Constructor Summary | |
LinearTransfer(float slope,
float intercept)
Two floats as the input for the function |
Method Summary | |
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 |
public byte[] lutData
public float slope
public float intercept
Constructor Detail |
public LinearTransfer(float slope, float intercept)
Method Detail |
public byte[] getLookupTable()
getLookupTable
in interface TransferFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |