Contents:
ColorModel
CropImageFilter
DirectColorModel
FilteredImageSource
ImageConsumer
ImageFilter
ImageObserver
ImageProducer
IndexColorModel
MemoryImageSource
PixelGrabber
ReplicateScaleFilter
RGBImageFilter
The AreaAveragingScaleFilter class scales an image using a simple smoothing algorithm.
public class java.awt.image.AreaAveragingScaleFilter extends java.awt.image.ReplicateScaleFilter { // Constructor public AreaAveragingScaleFilter (int width, int height); // Instance Methods public void setHints (int hints); public void setPixels (int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize); public void setPixels (int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize); }
Width of scaled image.
Height of scaled image.
Constructs an AverageScaleFilter that scales the original image to the specified size.
Flags indicating how data will be delivered.
ImageFilter.setHints(int)
Gives this filter hints about how data will be delivered.
x-coordinate of top-left corner of pixel data delivered with this method call.
y-coordinate of top-left corner of pixel data delivered with this method call.
Width of the rectangle of pixel data delivered with this method call.
Height of the rectangle of pixel data delivered with this method call.
Color model of image data.
Image data.
Offset from beginning of the pixels array.
Size of each line of data in pixels array.
ReplicateScaleFilter.setPixels(int, int, int, int, ColorModel, byte[], int, int)
Receives a rectangle of image data from the ImageProducer; scales these pixels and delivers them to any ImageConsumers.
x-coordinate of top-left corner of pixel data delivered with this method call.
y-coordinate of top-left corner of pixel data delivered with this method call.
Width of the rectangle of pixel data delivered with this method call.
Height of the rectangle of pixel data delivered with this method call.
Color model of image data.
Image data.
Offset from beginning of the pixels array.
Size of each line of data in pixels array.
ReplicateScaleFilter.setPixels(int, int, int, int, ColorModel, int[], int, int)
Receives a rectangle of image data from the ImageProducer; scales these pixels and delivers them to any ImageConsumers.
ColorModel, ReplicateScaleFilter
This HTML Help has been published using the chm2web software. |