Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.image |
Provides classes for creating and modifying images.
|
javax.imageio |
The main package of the Java Image I/O API.
|
Modifier and Type | Method | Description |
---|---|---|
Raster |
PaintContext.getRaster(int x,
int y,
int w,
int h)
Returns a
Raster containing the colors generated for
the graphics operation. |
Modifier and Type | Method | Description |
---|---|---|
void |
CompositeContext.compose(Raster src,
Raster dstIn,
WritableRaster dstOut)
Composes the two source
Raster objects and
places the result in the destination
WritableRaster . |
Modifier and Type | Class | Description |
---|---|---|
class |
WritableRaster
This class extends Raster to provide pixel writing capabilities.
|
Modifier and Type | Field | Description |
---|---|---|
protected Raster |
Raster.parent
The parent of this Raster, or null.
|
Modifier and Type | Method | Description |
---|---|---|
Raster |
Raster.createChild(int parentX,
int parentY,
int width,
int height,
int childMinX,
int childMinY,
int[] bandList)
Returns a new Raster which shares all or part of this Raster's
DataBuffer.
|
|
static Raster |
Raster.createRaster(SampleModel sm,
DataBuffer db,
Point location)
Creates a Raster with the specified SampleModel and DataBuffer.
|
|
Raster |
Raster.createTranslatedChild(int childMinX,
int childMinY)
Create a Raster with the same size, SampleModel and DataBuffer
as this one, but with a different location.
|
|
Raster |
RenderedImage.getData()
Returns the image as one large tile (for tile based
images this will require fetching the whole image
and copying the image data over).
|
|
Raster |
BufferedImage.getData()
Returns the image as one large tile.
|
|
Raster |
RenderedImage.getData(Rectangle rect)
Computes and returns an arbitrary region of the RenderedImage.
|
|
Raster |
BufferedImage.getData(Rectangle rect)
Computes and returns an arbitrary region of the
BufferedImage . |
|
Raster |
Raster.getParent()
Returns the parent Raster (if any) of this Raster or null.
|
|
Raster |
RenderedImage.getTile(int tileX,
int tileY)
Returns tile (tileX, tileY).
|
|
Raster |
BufferedImage.getTile(int tileX,
int tileY)
Returns tile (
tileX , tileY ). |
Modifier and Type | Method | Description |
---|---|---|
BufferedImage |
IndexColorModel.convertToIntDiscrete(Raster raster,
boolean forceARGB)
Returns a new
BufferedImage of TYPE_INT_ARGB or
TYPE_INT_RGB that has a Raster with pixel data
computed by expanding the indices in the source Raster
using the color/alpha component arrays of this ColorModel . |
|
WritableRaster |
BandCombineOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination
Raster with the correct size
and number of bands. |
|
WritableRaster |
ConvolveOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number
of bands, given this source.
|
|
WritableRaster |
LookupOp.createCompatibleDestRaster(Raster src)
Creates a zeroed-destination
Raster with the
correct size and number of bands, given this source. |
|
WritableRaster |
RescaleOp.createCompatibleDestRaster(Raster src)
Creates a zeroed-destination
Raster with the correct
size and number of bands, given this source. |
|
WritableRaster |
ColorConvertOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of
bands, given this source.
|
|
WritableRaster |
RasterOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of
bands.
|
|
WritableRaster |
AffineTransformOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination
Raster with the correct size
and number of bands. |
|
WritableRaster |
BandCombineOp.filter(Raster src,
WritableRaster dst)
Transforms the
Raster using the matrix specified in the
constructor. |
|
WritableRaster |
ConvolveOp.filter(Raster src,
WritableRaster dst)
Performs a convolution on Rasters.
|
|
WritableRaster |
LookupOp.filter(Raster src,
WritableRaster dst)
Performs a lookup operation on a
Raster . |
|
WritableRaster |
RescaleOp.filter(Raster src,
WritableRaster dst)
Rescales the pixel data in the source Raster.
|
|
WritableRaster |
ColorConvertOp.filter(Raster src,
WritableRaster dest)
ColorConverts the image data in the source Raster.
|
|
WritableRaster |
RasterOp.filter( |