j2d.filters
Class RShiftFilter
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RShiftFilter
public RShiftFilter()
RShiftFilter
public RShiftFilter(java.awt.Point p)
RShiftFilter
public RShiftFilter(int tx,
int ty)
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)