public class MoveTowards extends java.lang.Object implements IApplyInPlace
| Constructor and Description |
|---|
MoveTowards()
Initialize a new instance of the MoveTowards class.
|
MoveTowards(FastBitmap overlayImage,
int stepSize)
Initialize a new instance of the MoveTowards class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap sourceImage)
Apply filter to an image.
|
int |
getStepSize()
Defines the maximum amount of changes per pixel in the source image.
|
void |
setOverlayImage(FastBitmap overlayImage)
Sets an overlay image, which will be used as the second image required to process source image.
|
void |
setStepSize(int stepSize)
Defines the maximum amount of changes per pixel in the source image.
|
public MoveTowards()
public MoveTowards(FastBitmap overlayImage, int stepSize)
overlayImage - Overlay image.stepSize - Step size, [0, 255].public int getStepSize()
public void setStepSize(int stepSize)
stepSize - Step size, [0, 255].public void setOverlayImage(FastBitmap overlayImage)
overlayImage - Overlay image.public void applyInPlace(FastBitmap sourceImage)
IApplyInPlaceapplyInPlace in interface IApplyInPlacesourceImage - Image to be processed.