This class implements an ImageFilter that crops an image to a specified rectangle. The methods defined by this class are used for communication between the filter and its FilteredImageSource and should never be called directly.
public class CropImageFilter extends ImageFilter { // Public Constructor public CropImageFilter(int x, int y, int w, int h); // Public Instance Methods public void setDimensions(int w, int h); // Overrides ImageFilter public void setPixels(int x, int y, int w, int h, ColorModel model, public void setPixels'u'byte[] pixels, int off, int scansize); // Overrides ImageFilter public void setPixels(int x, int y, int w, int h, ColorModel model, public void setPixels'u'int[] pixels, int off, int scansize); // Overrides ImageFilter public void setProperties(Hashtable props); // Overrides ImageFilter }
Object->ImageFilter(ImageConsumer, Cloneable)->CropImageFilter
This HTML Help has been published using the chm2web software. |