|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Raster | |
com.sun.image.codec.jpeg | Provides classes for encoding and decoding JPEG images. |
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. |
Uses of Raster in com.sun.image.codec.jpeg |
Methods in com.sun.image.codec.jpeg that return Raster | |
Raster | JPEGImageDecoder.decodeAsRaster()
Decode the JPEG stream that was passed as part of construction. |
Raster | TruncatedFileException.getRaster()
Allows access to the raster that was in the progress of being decoded may be null, it is likely to be only partially filled with image data. |
Methods in com.sun.image.codec.jpeg with parameters of type Raster | |
JPEGEncodeParam | JPEGImageEncoder.getDefaultJPEGEncodeParam(Raster ras,
int colorID)
This is a factory method for creating JPEGEncodeParam objects. |
void | JPEGImageEncoder.encode(Raster ras)
Encode a Raster as a JPEG data stream. |
void | JPEGImageEncoder.encode(Raster ras,
JPEGEncodeParam jep)
Encode a Raster as a JPEG data stream. |
static JPEGEncodeParam | JPEGCodec.getDefaultJPEGEncodeParam(Raster ras,
int colorID)
This is a factory method for creating JPEGEncodeParam objects. |
Constructors in com.sun.image.codec.jpeg with parameters of type Raster | |
TruncatedFileException.TruncatedFileException(Raster ras)
Constructs an TruncatedFileException with the
partially decoded Raster |
Uses of Raster in java.awt |
Methods in java.awt that return Raster | |
Raster | PaintContext.getRaster(int x,
int y,
int w,
int h)
Return a Raster containing the colors generated for the graphics operation. |
Methods in java.awt with parameters of type Raster | |
void | CompositeContext.compose(Raster src,
Raster dstIn,
WritableRaster dstOut)
This method composes the two source rasters and places the result in the destination raster. |
Uses of Raster in java.awt.image |
Subclasses of Raster in java.awt.image | |
WritableRaster
This class extends Raster to provide pixel writing capabilities. |
Fields in java.awt.image declared as Raster | |
protected Raster | Raster.parent
The parent of this Raster, or null. |
Methods in java.awt.image that return Raster | |
static Raster | Raster.createRaster(SampleModel sm,
DataBuffer db,
Point location)
Creates a Raster with the specified SampleModel and DataBuffer. |
Raster | Raster.getParent()
Returns the parent Raster (if any) of this Raster, or else null. |
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 | 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. |
Raster | BufferedImage.getTile(int tileX,
int tileY)
Returns tile (tileX, tileY). |
Raster | BufferedImage.getData()
Returns the image as one large tile. |
Raster | BufferedImage.getData(Rectangle rect)
Computes and returns an arbitrary region of the BufferedImage. |
Raster | RenderedImage.getTile(int tileX,
int tileY)
Returns tile (tileX, tileY). |
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 | RenderedImage.getData(Rectangle rect)
Computes and returns an arbitrary region of the RenderedImage. |
Methods in java.awt.image with parameters of type Raster | |
void | WritableRaster.setDataElements(int x,
int y,
Raster inRaster)
Sets the data for a rectangle of pixels from an input Raster. |
void | WritableRaster.setRect(Raster srcRaster)
Copies pixels from Raster srcRaster to this WritableRaster. |
void | WritableRaster.setRect(int dx,
int dy,
Raster srcRaster)
Copies pixels from Raster srcRaster to this WritableRaster. |
void | WritableRenderedImage.setData(Raster r)
Sets a rect of the image to the contents of the Raster r, which is assumed to be in the same coordinate space as the WritableRenderedImage. |
WritableRaster | LookupOp.filter(Raster src,
WritableRaster dst)
Performs a lookup operation on a Raster. |
Rectangle2D | LookupOp.getBounds2D(Raster src)
Returns the bounding box of the filtered destination Raster. |
WritableRaster | LookupOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands, given this source. |
boolean | ColorModel.isCompatibleRaster(Raster raster)
Returns true if raster is compatible with this ColorModel and false if it is not. |
WritableRaster | RasterOp.filter(Raster src,
WritableRaster dest)
Performs a single-input/single-output operation from a source Raster to a destination Raster. |
Rectangle2D | RasterOp.getBounds2D(Raster src)
Returns the bounding box of the filtered destination Raster. |
WritableRaster | RasterOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands. |
WritableRaster | RescaleOp.filter(Raster src,
WritableRaster dst)
Rescales the pixel data in the source Raster. |
Rectangle2D | RescaleOp.getBounds2D(Raster src)
Returns the bounding box of the rescaled destination Raster. |
WritableRaster | RescaleOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands, given this source. |
WritableRaster | ColorConvertOp.filter(Raster src,
WritableRaster dest)
ColorConverts the image data in the source Raster. |
Rectangle2D | ColorConvertOp.getBounds2D(Raster src)
Returns the bounding box of the destination, given this source. |
WritableRaster | ColorConvertOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands, given this source. |
void | BufferedImage.setData(Raster r)
Sets a rect of the image to the contents of the Raster r, which is assumed to be in the same coordinate space as the BufferedImage. |
WritableRaster | BandCombineOp.filter(Raster src,
WritableRaster dst)
Transforms the Raster using the matrix in the constructor. |
Rectangle2D | BandCombineOp.getBounds2D(Raster src)
Returns the bounding box of the transformed destination. |
WritableRaster | BandCombineOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands. |
boolean | DirectColorModel.isCompatibleRaster(Raster raster)
Returns true if raster is compatible with this ColorModel and false if it is not. |
boolean | ComponentColorModel.isCompatibleRaster(Raster raster)
Returns true if raster is compatible with this ColorModel and false if it is not. |
WritableRaster | ConvolveOp.filter(Raster src,
WritableRaster dst)
Performs a convolution on Rasters. |
WritableRaster | ConvolveOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands, given this source. |
Rectangle2D | ConvolveOp.getBounds2D(Raster src)
Returns the bounding box of the filtered destination Raster. |
boolean | IndexColorModel.isCompatibleRaster(Raster raster)
Returns true if raster is compatible with this ColorModel and false if it is not. |
BufferedImage | IndexColorModel.convertToIntDiscrete(Raster raster,
boolean forceARGB)
Returns a new BufferedImage of TYPE_INT_ARGB or TYPE_INT_RGB which 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 | AffineTransformOp.filter(Raster src,
WritableRaster dst)
Transforms the source Raster and stores the results in the destination Raster. |
Rectangle2D | AffineTransformOp.getBounds2D(Raster src)
Returns the bounding box of the transformed destination. |
WritableRaster | AffineTransformOp.createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands. |
Constructors in java.awt.image with parameters of type Raster | |
Raster.Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
Raster parent)
Constructs a Raster with the given SampleModel, DataBuffer, and parent. aRegion specifies the bounding rectangle of the new Raster. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |