com.jhlabs.image

Class InvertFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class InvertFilter
extends PointFilter

A filter which inverts the RGB channels of an image.

Field Summary

Fields inherited from class com.jhlabs.image.PointFilter

canFilterIndexColorModel

Constructor Summary

InvertFilter()

Method Summary

int
filterRGB(int x, int y, int rgb)
String
toString()

Methods inherited from class com.jhlabs.image.PointFilter

filter, filterRGB, setDimensions

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

InvertFilter

public InvertFilter()

Method Details

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Overrides:
filterRGB in interface PointFilter

toString

public String toString()