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, filtercreateCompatibleDestImage, getBounds2D, getOpName, getPoint2D, getRenderingHintspublic AlphaBlendBinaryOp(java.awt.image.BufferedImage left,
double alpha)
left - alpha - public int combine(int s1,
int s2)
combine in class BinaryImageOps1 - s2 -