org.jscience.media.pictures.filters
Class TileImageFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by org.jscience.media.pictures.filters.TileImageFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable

public class TileImageFilter
extends java.awt.image.ImageFilter
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
static int FLIP_180
          DOCUMENT ME!
static int FLIP_H
          DOCUMENT ME!
static int FLIP_HV
          DOCUMENT ME!
static int FLIP_NONE
          DOCUMENT ME!
static int FLIP_V
          DOCUMENT ME!
 
Fields inherited from class java.awt.image.ImageFilter
consumer
 
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
 
Constructor Summary
TileImageFilter()
          Creates a new TileImageFilter object.
TileImageFilter(int width, int height)
          Creates a new TileImageFilter object.
 
Method Summary
 int[] blendPixels(int x, int y, int w, int h, int[] pixels, int off, int stride)
          DOCUMENT ME!
 int[] flipPixels(int x, int y, int w, int h, int[] pixels, int off, int scansize, int operation)
          DOCUMENT ME!
 int getHeight()
          DOCUMENT ME!
 int[][] getSymmetryMatrix()
          DOCUMENT ME!
 int getWidth()
          DOCUMENT ME!
 void setDimensions(int width, int height)
          DOCUMENT ME!
 void setHeight(int height)
          DOCUMENT ME!
 void setHints(int hints)
          DOCUMENT ME!
 void setPixels(int sx, int sy, int w, int h, java.awt.image.ColorModel model, byte[] pixels, int offset, int scan)
          DOCUMENT ME!
 void setPixels(int sx, int sy, int w, int h, java.awt.image.ColorModel model, int[] pixels, int offset, int scan)
          DOCUMENT ME!
 void setSymmetryMatrix(int[][] symmetryMatrix)
          DOCUMENT ME!
 void setWidth(int width)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setColorModel, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FLIP_NONE

public static final int FLIP_NONE
DOCUMENT ME!

See Also:
Constant Field Values

FLIP_H

public static final int FLIP_H
DOCUMENT ME!

See Also:
Constant Field Values

FLIP_V

public static final int FLIP_V
DOCUMENT ME!

See Also:
Constant Field Values

FLIP_HV

public static final int FLIP_HV
DOCUMENT ME!

See Also:
Constant Field Values

FLIP_180

public static final int FLIP_180
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

TileImageFilter

public TileImageFilter()
Creates a new TileImageFilter object.


TileImageFilter

public TileImageFilter(int width,
                       int height)
Creates a new TileImageFilter object.

Parameters:
width - DOCUMENT ME!
height - DOCUMENT ME!
Method Detail

setWidth

public void setWidth(int width)
DOCUMENT ME!

Parameters:
width - DOCUMENT ME!

getWidth

public int getWidth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setHeight

public void setHeight(int height)
DOCUMENT ME!

Parameters:
height - DOCUMENT ME!

getHeight

public int getHeight()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDimensions

public void setDimensions(int width,
                          int height)
DOCUMENT ME!

Specified by:
setDimensions in interface java.awt.image.ImageConsumer
Overrides:
setDimensions in class java.awt.image.ImageFilter
Parameters:
width - DOCUMENT ME!
height - DOCUMENT ME!

setHints

public void setHints(int hints)
DOCUMENT ME!

Specified by:
setHints in interface java.awt.image.ImageConsumer
Overrides:
setHints in class java.awt.image.ImageFilter
Parameters:
hints - DOCUMENT ME!

setPixels

public void setPixels(int sx,
                      int sy,
                      int w,
                      int h,
                      java.awt.image.ColorModel model,
                      byte[] pixels,
                      int offset,
                      int scan)
DOCUMENT ME!

Specified by:
setPixels in interface java.awt.image.ImageConsumer
Overrides:
setPixels in class java.awt.image.ImageFilter
Parameters:
sx - DOCUMENT ME!
sy - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
model - DOCUMENT ME!
pixels - DOCUMENT ME!
offset - DOCUMENT ME!
scan - DOCUMENT ME!

setPixels

public void setPixels(int sx,
                      int sy,
                      int w,
                      int h,
                      java.awt.image.ColorModel model,
                      int[] pixels,
                      int offset,
                      int scan)
DOCUMENT ME!

Specified by:
setPixels in interface java.awt.image.ImageConsumer
Overrides:
setPixels in class java.awt.image.ImageFilter
Parameters:
sx - DOCUMENT ME!
sy - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
model - DOCUMENT ME!
pixels - DOCUMENT ME!
offset - DOCUMENT ME!
scan - DOCUMENT ME!

blendPixels

public int[] blendPixels(int x,
                         int y,
                         int w,
                         int h,
                         int[] pixels,
                         int off,
                         int stride)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
pixels - DOCUMENT ME!
off - DOCUMENT ME!
stride - DOCUMENT ME!
Returns:
DOCUMENT ME!

setSymmetryMatrix

public void setSymmetryMatrix(int[][] symmetryMatrix)
DOCUMENT ME!

Parameters:
symmetryMatrix - DOCUMENT ME!

getSymmetryMatrix

public int[][] getSymmetryMatrix()
DOCUMENT ME!

Returns:
DOCUMENT ME!

flipPixels

public int[] flipPixels(int x,
                        int y,
                        int w,
                        int h,
                        int[] pixels,
                        int off,
                        int scansize,
                        int operation)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
pixels - DOCUMENT ME!
off - DOCUMENT ME!
scansize - DOCUMENT ME!
operation - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!