public class AwtLuminanceShadingComposite
extends java.lang.Object
implements java.awt.Composite
AlphaComposite that blends the strongest color component and scales the others accordingly,
so that it does not flatten saturation like AlphaComposite would.| Constructor and Description |
|---|
AwtLuminanceShadingComposite(float magnitude) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.CompositeContext |
createContext(java.awt.image.ColorModel srcColorModel,
java.awt.image.ColorModel dstColorModel,
java.awt.RenderingHints hints) |