Catalano.Imaging.Filters.Artistic
Class Blend
- java.lang.Object
-
- Catalano.Imaging.Filters.Artistic.Blend
-
- All Implemented Interfaces:
- IApplyInPlace
public class Blend extends java.lang.Object implements IApplyInPlace
Blend Filter. Blend filter is used to determine how two layers are blended into each other. Reference: http://en.wikipedia.org/wiki/Blend_modes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classBlend.AlgorithmBlend algorithm.
-
Constructor Summary
Constructors Constructor and Description Blend(FastBitmap overlay, Blend.Algorithm algorithm)Initialize a new instance of the Blend class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.Blend.AlgorithmgetAlgorithm()Get Blend algorithm.FastBitmapgetOverlay()Get Overlay image.voidsetAlgorithm(Blend.Algorithm algorithm)Set Blend algorithm.voidsetOverlay(FastBitmap overlay)Set Overlay image.
-
-
-
Constructor Detail
-
Blend
public Blend(FastBitmap overlay, Blend.Algorithm algorithm)
Initialize a new instance of the Blend class.- Parameters:
overlay- Overlay image.algorithm- Blend algorithm.
-
-
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.
-
getAlgorithm
public Blend.Algorithm getAlgorithm()
Get Blend algorithm.- Returns:
- Blend algorithm.
-
setAlgorithm
public void setAlgorithm(Blend.Algorithm algorithm)
Set Blend algorithm.- Parameters:
algorithm- Blend algorithm.
-
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