Constructors
Name | Description |
---|---|
CropImageFilter(int, int, int, int) | Constructs a CropImageFilter that extracts the absolute rectangular region of pixels from its source Image as specified by the x, y, w, and h parameters. |
Methods
Name | Description |
---|---|
setDimensions(int, int) | Override the source image's dimensions and pass the dimensions of the rectangular cropped region to the ImageConsumer. |
setPixels(int, int, int, int, ColorModel, byte[], int, int) | Determine whether the delivered byte pixels intersect the region to be extracted and passes through only that subset of pixels that appear in the output region. |
setPixels(int, int, int, int, ColorModel, int[], int, int) | Determine if the delivered int pixels intersect the region to be extracted and pass through only that subset of pixels that appear in the output region. |
setProperties(Hashtable) | Passes along the properties from the source object after adding a property indicating the cropped region. |