All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Interface java.awt.CompositeContext

public interface CompositeContext
This interface defines the encapsulated and optimized environment for a compositing operation. CompositeContext objects maintain state for compositing operations. In a multi-threaded environment, several contexts may exist simultaneously for a single Composite object.

See Also:
Composite

Method Index

 o compose(Raster, Raster, WritableRaster)
This method composes the two source rasters and places the result in the destination raster.
 o dispose()
Release resources allocated for context.

Methods

 o dispose
public abstract void dispose()
Release resources allocated for context.

 o compose
public abstract void compose(Raster src1,
                             Raster src2,
                             WritableRaster dst)
This method composes the two source rasters and places the result in the destination raster. Note that the destination can be the same object as either the first or second source.

Parameters:
src1 - The first source for the compositing operation.
src2 - The second source for the compositing operation.
dst - The tile where the result of the operation is stored.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature