This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.awt
interface CompositeContext


public interface CompositeContext

The CompositeContext 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 can exist simultaneously for a single {@link Composite} object.


Method Summary
 void
compose(Raster src, Raster dstIn, WritableRaster dstOut)

          Composes the two source java.awt.image.Raster objects and places the result in the destination java.awt.image.WritableRaster.
 void

          Releases resources allocated for a context.
 

Method Detail

compose

public void compose(Raster src,
                    Raster dstIn,
                    WritableRaster dstOut)
Composes the two source {@link Raster} objects and places the result in the destination {@link WritableRaster}. Note that the destination can be the same object as either the first or second source. Note that dstIn and dstOut must be compatible with the dstColorModel passed to the {@link Composite#createContext(java.awt.image.ColorModel, java.awt.image.ColorModel, java.awt.RenderingHints) createContext} method of the Composite interface.

Parameters:
src - the first source for the compositing operation
dstIn - the second source for the compositing operation
dstOut - the WritableRaster into which the result of the operation is stored

dispose

public void dispose()
Releases resources allocated for a context.



This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.