j2d.color
Class PseudoColorFilter

java.lang.Object
  extended by j2d.color.PseudoColorFilter
All Implemented Interfaces:
HppFilterInterface

public class PseudoColorFilter
extends java.lang.Object
implements HppFilterInterface


Constructor Summary
PseudoColorFilter()
           
PseudoColorFilter(double ar, double ag, double ab)
           
 
Method Summary
 short getB(int v)
           
static short getFunction(int v, double a)
           
 short getG(int v)
           
 short getR(int v)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoColorFilter

public PseudoColorFilter(double ar,
                         double ag,
                         double ab)

PseudoColorFilter

public PseudoColorFilter()
Method Detail

getR

public short getR(int v)
Specified by:
getR in interface HppFilterInterface

getG

public short getG(int v)
Specified by:
getG in interface HppFilterInterface

getB

public short getB(int v)
Specified by:
getB in interface HppFilterInterface

getFunction

public static short getFunction(int v,
                                double a)