org.apache.batik.ext.awt.image

Interface ComponentTransferFunction

public interface ComponentTransferFunction

Defines the interface expected from a component transfer function.
Field Summary
intDISCRETE
intGAMMA
intIDENTITY
The various transfer types
intLINEAR
intTABLE
Method Summary
floatgetAmplitude()
Returns the amplitude value for this transfer function
floatgetExponent()
Returns the exponent value for this transfer function
floatgetIntercept()
Returns the intercept value for this transfer function
floatgetOffset()
Returns the offset value for this transfer function
floatgetSlope()
Returns the slope value for this transfer function
float[]getTableValues()
Returns the table values for this transfer function
intgetType()
Returns the type of this transfer function

Field Detail

DISCRETE

public int DISCRETE

GAMMA

public int GAMMA

IDENTITY

public int IDENTITY
The various transfer types

LINEAR

public int LINEAR

TABLE

public int TABLE

Method Detail

getAmplitude

public float getAmplitude()
Returns the amplitude value for this transfer function

getExponent

public float getExponent()
Returns the exponent value for this transfer function

getIntercept

public float getIntercept()
Returns the intercept value for this transfer function

getOffset

public float getOffset()
Returns the offset value for this transfer function

getSlope

public float getSlope()
Returns the slope value for this transfer function

getTableValues

public float[] getTableValues()
Returns the table values for this transfer function

getType

public int getType()
Returns the type of this transfer function
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.