j2d.filters
Class RShiftFilter

java.lang.Object
  extended by j2d.filters.RShiftFilter
All Implemented Interfaces:
ImageProcessorInterface, java.io.Serializable

public class RShiftFilter
extends java.lang.Object
implements ImageProcessorInterface

This filter shifts just the red color plane in the image.

See Also:
Serialized Form

Constructor Summary
RShiftFilter()
           
RShiftFilter(int tx, int ty)
           
RShiftFilter(java.awt.Point p)
           
 
Method Summary
 int getTx()
           
 int getTy()
           
 boolean isShiftB()
           
 boolean isShiftG()
           
 boolean isShiftR()
           
 java.awt.Image process(java.awt.Image image)
          a basic garbage in, garbage out processor.
 void setShiftB(boolean shiftB)
           
 void setShiftG(boolean shiftG)
           
 void setShiftR(boolean shiftR)
           
 void setTx(int tx)
           
 void setTy(int ty)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RShiftFilter

public RShiftFilter()

RShiftFilter

public RShiftFilter(java.awt.Point p)

RShiftFilter

public RShiftFilter(int tx,
                    int ty)
Method Detail

process

public java.awt.Image process(java.awt.Image image)
Description copied from interface: ImageProcessorInterface
a basic garbage in, garbage out processor.

Specified by:
process in interface ImageProcessorInterface
Parameters:
image - input image
Returns:
output image

getTx

public int getTx()

setTx

public void setTx(int tx)

getTy

public int getTy()

setTy

public void setTy(int ty)

isShiftR

public boolean isShiftR()

setShiftR

public void setShiftR(boolean shiftR)

isShiftG

public boolean isShiftG()

setShiftG

public void setShiftG(boolean shiftG)

isShiftB

public boolean isShiftB()

setShiftB

public void setShiftB(boolean shiftB)