protected class ModulateComposite.ModulationContext
extends java.lang.Object
implements java.awt.CompositeContext
Modifier and Type | Field and Description |
---|---|
protected java.awt.image.ColorModel |
dstColorModel
Destination color model.
|
protected java.awt.image.ColorModel |
srcColorModel
Source color model.
|
Constructor and Description |
---|
ModulationContext(java.awt.image.ColorModel srcColorModel,
java.awt.image.ColorModel dstColorModel)
Creates the context.
|
Modifier and Type | Method and Description |
---|---|
void |
compose(java.awt.image.Raster src,
java.awt.image.Raster dstIn,
java.awt.image.WritableRaster dstOut)
Composes the image.
|
void |
dispose()
Disposes context.
|
protected java.awt.image.ColorModel srcColorModel
protected java.awt.image.ColorModel dstColorModel
public ModulationContext(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel)
srcColorModel
- Source color model.dstColorModel
- Destination color model.public void compose(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
compose
in interface java.awt.CompositeContext
public void dispose()
dispose
in interface java.awt.CompositeContext