Modifier and Type | Method and Description |
---|---|
CompositeContext |
createContext(ColorModel srcColorModel,
ColorModel dstColorModel,
RenderingHints hints) |
static Composite |
getInstance(BlendMode blendMode,
float constantAlpha)
Creates a blend composite
|
public static Composite getInstance(BlendMode blendMode, float constantAlpha)
blendMode
- Desired blend modeconstantAlpha
- Constant alpha, must be in the inclusive range
[0.0...1.0] or it will be clipped.public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
createContext
in interface Composite
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.