APIdia Launch Partner
Top Fields Constructors Methods
sun.java2d

public Class SunCompositeContext

extends Object
implements CompositeContext
Class Inheritance
All Implemented Interfaces
java.awt.CompositeContext
Imports
java.awt.Composite, .CompositeContext, .AlphaComposite, java.awt.image.ColorModel, .BufferedImage, .Raster, .WritableRaster, sun.awt.image.BufImgSurfaceData, sun.java2d.loops.XORComposite, .CompositeType, .Blit

Field Summary

Modifier and TypeField and Description
pack-priv Composite
pack-priv CompositeType
pack-priv ColorModel
pack-priv ColorModel

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
compose(Raster
The first source tile for the compositing operation.
src1
,
Raster
The second source tile for the compositing operation.
src2
,
WritableRaster
The tile where the result of the operation is stored.
dst
)

Implements java.awt.CompositeContext.compose.

This method composes the two source tiles and places the result in the destination tile.

public void
dispose()

Implements java.awt.CompositeContext.dispose.

Release resources allocated for context.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compositeback to summary
pack-priv Composite composite
comptypeback to summary
pack-priv CompositeType comptype
dstCMback to summary
pack-priv ColorModel dstCM
srcCMback to summary
pack-priv ColorModel srcCM

Constructor Detail

SunCompositeContextback to summary
public SunCompositeContext(AlphaComposite ac, ColorModel s, ColorModel d)
SunCompositeContextback to summary
public SunCompositeContext(XORComposite xc, ColorModel s, ColorModel d)

Method Detail

composeback to summary
public void compose(Raster src1, Raster src2, WritableRaster dst)

Implements java.awt.CompositeContext.compose.

This method composes the two source tiles and places the result in the destination tile. Note that the destination can be the same object as either the first or second source.

Parameters
src1:Raster

The first source tile for the compositing operation.

src2:Raster

The second source tile for the compositing operation.

dst:WritableRaster

The tile where the result of the operation is stored.

disposeback to summary
public void dispose()

Implements java.awt.CompositeContext.dispose.

Release resources allocated for context.