public class Blend extends java.lang.Object implements IApplyInPlace
| Modifier and Type | Class and Description |
|---|---|
static class |
Blend.Algorithm
Blend algorithm.
|
| Constructor and Description |
|---|
Blend(FastBitmap overlay,
Blend.Algorithm algorithm)
Initialize a new instance of the Blend class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
Blend.Algorithm |
getAlgorithm()
Get Blend algorithm.
|
FastBitmap |
getOverlay()
Get Overlay image.
|
void |
setAlgorithm(Blend.Algorithm algorithm)
Set Blend algorithm.
|
void |
setOverlay(FastBitmap overlay)
Set Overlay image.
|
public Blend(FastBitmap overlay, Blend.Algorithm algorithm)
overlay - Overlay image.algorithm - Blend algorithm.public FastBitmap getOverlay()
public void setOverlay(FastBitmap overlay)
overlay - Overlay image.public Blend.Algorithm getAlgorithm()
public void setAlgorithm(Blend.Algorithm algorithm)
algorithm - Blend algorithm.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.