Catalano.Imaging.Filters.Artistic
Class Solarize
- java.lang.Object
-
- Catalano.Imaging.Filters.Artistic.Solarize
-
- All Implemented Interfaces:
- IApplyInPlace
public class Solarize extends java.lang.Object implements IApplyInPlace
Solarize filter.
-
-
Constructor Summary
Constructors Constructor and Description Solarize()Initialize a new instance of the Solarize class.Solarize(double percentage)Initialize a new instance of the Solarize class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetPercentage()Get percentage.voidsetPercentage(double p)Set percentage.
-
-
-
Constructor Detail
-
Solarize
public Solarize()
Initialize a new instance of the Solarize class.
-
Solarize
public Solarize(double percentage)
Initialize a new instance of the Solarize class.- Parameters:
percentage- Percentage [0..1].
-
-
Method Detail
-
getPercentage
public double getPercentage()
Get percentage.- Returns:
- Percentage.
-
setPercentage
public void setPercentage(double p)
Set percentage.- 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