public class AlphaBlendBinaryOp extends BinaryImageOp
combinePixels, left
Constructor and Description |
---|
AlphaBlendBinaryOp(java.awt.image.BufferedImage left,
double alpha)
The left-hand image and alpha value
|
Modifier and Type | Method and Description |
---|---|
int |
combine(int s1,
int s2)
Combines samples s1 and s2 such that the result is s1*alpha + (1-alpha)*s2.
|
combineRGB, createCompatibleDestImage, filter
createCompatibleDestImage, getBounds2D, getOpName, getPoint2D, getRenderingHints
public AlphaBlendBinaryOp(java.awt.image.BufferedImage left, double alpha)
left
- alpha
- public int combine(int s1, int s2)
combine
in class BinaryImageOp
s1
- s2
-