All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Filters.Flip

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

public class Flip
extends ImageFilterPlus
An ImageFilter that flips or rotates the image.

Flips the image left-right, top-bottom, rotates clockwise or counter-clockwise, or otherwise munges the image as specified. This filter is fast.

Fetch the software.
Fetch the entire Acme package.


Variable Index

 o FLIP_CCW
Rotate counter-clockwise 90 degrees.
 o FLIP_CW
Rotate clockwise 90 degrees.
 o FLIP_LR
Flip left to right.
 o FLIP_NULL
The null transformation.
 o FLIP_R180
Rotate 180 degrees.
 o FLIP_TB
Flip top to bottom.
 o FLIP_XY
Transpose X and Y - reflection along a diagonal.

Constructor Index

 o Flip(ImageProducer, int)
Constructor.

Method Index

 o main(String[])
 o setDimensions(int, int)
 o setPixels(int, int, int, int, ColorModel, byte[], int, int)
 o setPixels(int, int, int, int, ColorModel, int[], int, int)

Variables

 o FLIP_NULL
 public static final int FLIP_NULL
The null transformation.

 o FLIP_LR
 public static final int FLIP_LR
Flip left to right.

 o FLIP_TB
 public static final int FLIP_TB
Flip top to bottom.

 o FLIP_XY
 public static final int FLIP_XY
Transpose X and Y - reflection along a diagonal.

 o FLIP_CW
 public static final int FLIP_CW
Rotate clockwise 90 degrees.

 o FLIP_CCW
 public static final int FLIP_CCW
Rotate counter-clockwise 90 degrees.

 o FLIP_R180
 public static final int FLIP_R180
Rotate 180 degrees.

Constructors

 o Flip
 public Flip(ImageProducer producer,
             int flipType)
Constructor.

Methods

 o setDimensions
 public void setDimensions(int width,
                           int height)
Overrides:
setDimensions in class ImageFilter
 o setPixels
 public void setPixels(int x,
                       int y,
                       int w,
                       int h,
                       ColorModel model,
                       byte pixels[],
                       int off,
                       int scansize)
Overrides:
setPixels in class ImageFilter
 o setPixels
 public void setPixels(int x,
                       int y,
                       int w,
                       int h,
                       ColorModel model,
                       int pixels[],
                       int off,
                       int scansize)
Overrides:
setPixels in class ImageFilter
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs