Package org.mapsforge.map.awt.graphics
Class AwtLuminanceShadingComposite
java.lang.Object
org.mapsforge.map.awt.graphics.AwtLuminanceShadingComposite
- All Implemented Interfaces:
Composite
An alternative to
AlphaComposite that blends the strongest color component and scales the others accordingly,
so that it does not flatten saturation like AlphaComposite would.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
-
Constructor Details
-
AwtLuminanceShadingComposite
public AwtLuminanceShadingComposite(float magnitude)
-
-
Method Details
-
createContext
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) - Specified by:
createContextin interfaceComposite
-