Class BlendComposite
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.blend.BlendComposite
- All Implemented Interfaces:
Composite
AWT composite for blend modes.
- Author:
- Kühn & Weyh Software GmbH
-
Method Summary
Modifier and TypeMethodDescriptioncreateContext
(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) static Composite
getInstance
(BlendMode blendMode, float constantAlpha) Creates a blend composite
-
Method Details
-
getInstance
Creates a blend composite- Parameters:
blendMode
- Desired blend modeconstantAlpha
- Constant alpha, must be in the inclusive range [0.0...1.0] or it will be clipped.- Returns:
- a blend composite.
-
createContext
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) - Specified by:
createContext
in interfaceComposite
-