public class Add extends java.lang.Object implements IApplyInPlace
Properties:
| Constructor and Description |
|---|
Add(FastBitmap overlayImage)
Initialize a new instance of the Add class.
|
Add(int gray)
Initialize a new instance of the Add class.
|
Add(int r,
int g,
int b)
Initialize a new instance of the Add class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap sourceImage)
Apply filter to an image.
|
void |
setOverlayImage(FastBitmap overlayImage)
Sets an overlay image, which will be used as the second image required to process source image.
|
public Add(int gray)
gray - Gray value.public Add(int r,
int g,
int b)
r - Red value.g - Green value.b - Blue value.public Add(FastBitmap overlayImage)
overlayImage - Overlay image.public void setOverlayImage(FastBitmap overlayImage)
overlayImage - Overlay image.public void applyInPlace(FastBitmap sourceImage)
IApplyInPlaceapplyInPlace in interface IApplyInPlacesourceImage - Image to be processed.