All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Filters.Invert

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----Acme.JPM.Filters.ImageFilterPlus
                   |
                   +----Acme.JPM.Filters.RGBBlockFilter
                           |
                           +----Acme.JPM.Filters.Invert

public class Invert
extends RGBBlockFilter
Color-inversion filter.

Switches black for white, and all the other colors too. This filter is very fast.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o Invert(ImageProducer)
Constructor.

Method Index

 o filterRGBBlock(int, int, int, int, int[][])
This is the routine that subclasses must implement.
 o main(String[])

Constructors

 o Invert
 public Invert(ImageProducer producer)
Constructor.

Methods

 o filterRGBBlock
 public int[][] filterRGBBlock(int x,
                               int y,
                               int width,
                               int height,
                               int rgbPixels[][])
This is the routine that subclasses must implement.

Overrides:
filterRGBBlock in class RGBBlockFilter
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs