Catalano.Imaging.Filters.Artistic
Class Opacity
- java.lang.Object
-
- Catalano.Imaging.Filters.Artistic.Opacity
-
- All Implemented Interfaces:
- IApplyInPlace
public class Opacity extends java.lang.Object implements IApplyInPlace
Opacity filter.
-
-
Constructor Summary
Constructors Constructor and Description Opacity(FastBitmap overlay)Initializes a new instance of the HeatMap class.Opacity(FastBitmap overlay, double percentage)Initializes a new instance of the HeatMap class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.FastBitmapgetOverlay()Get overlay image.doublegetPercentage()Get percentage.voidsetOverlay(FastBitmap overlay)Set overlay image.voidsetPercentage(double p)Set percetange.
-
-
-
Constructor Detail
-
Opacity
public Opacity(FastBitmap overlay)
Initializes a new instance of the HeatMap class.- Parameters:
overlay- Overlay image.
-
Opacity
public Opacity(FastBitmap overlay, double percentage)
Initializes a new instance of the HeatMap class.- Parameters:
overlay- Overlay image.percentage- Percentage [0..1].
-
-
Method Detail
-
getOverlay
public FastBitmap getOverlay()
Get overlay image.- Returns:
- Overlay image.
-
setOverlay
public void setOverlay(FastBitmap overlay)
Set overlay image.- Parameters:
overlay- Overlay image.
-
getPercentage
public double getPercentage()
Get percentage.- Returns:
- Percentage.
-
setPercentage
public void setPercentage(double p)
Set percetange.- Parameters:
p- Percentage [0..1].
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG