Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
java.awt.image.Raster

Packages that use Raster
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 java.awt
 

Methods in java.awt that return Raster
 Raster PaintContext.getRaster(int x, int y, int w, int h)
          Returns a Raster containing the colors generated for the graphics operation.
 

Uses of Raster in java.awt.image
 

Subclasses of Raster in java.awt.image
 class 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
 Raster Raster.getParent()
          Returns the parent Raster (if any) of this Raster or null.
 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 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.
 Raster BufferedImage.getData()
          Returns the image as one large tile.
 Raster BufferedImage.getData(Rectangle rect)
          Computes and returns an arbitrary region of the BufferedImage.
 

Methods in java.awt.image with parameters of type Raster
 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 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.
 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 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.
 void WritableRaster.setRect(int dx, int dy, Raster srcRaster)
          Copies pixels from Raster srcRaster to this WritableRaster.
 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.
 void BufferedImage.setData(Raster r)
          Sets a rectangular region of the image to the contents of the specified Raster r, which is assumed to be in the same coordinate space as the BufferedImage.
 

Constructors in java.awt.image with parameters of type Raster
Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
          Constructs a Raster with the given SampleModel, DataBuffer, and parent.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.