BlendFilter Constructor (IImageProvider, IImageProvider, BlendFunction, Double)
Creates and initializes a new BlendFilter with an image source, a mask, a blend function, and a level.
Namespace: Lumia.Imaging.Compositing
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public BlendFilter(
IImageProvider foregroundSource,
IImageProvider maskSource,
BlendFunction blendFunction,
double level
)
'Declaration
Public Sub New (
foregroundSource As IImageProvider,
maskSource As IImageProvider,
blendFunction As BlendFunction,
level As Double
)
public:
BlendFilter(
[InAttribute] IImageProvider^ foregroundSource,
[InAttribute] IImageProvider^ maskSource,
[InAttribute] BlendFunction blendFunction,
[InAttribute] double level
)
Lumia.Imaging.Compositing.BlendFilter = function(foregroundSource, maskSource, blendFunction, level);
Parameters
- foregroundSource
Type: Lumia.Imaging.IImageProvider
The foreground image source that will be blended onto the filter effect's image.
- maskSource
Type: Lumia.Imaging.IImageProvider
A mask image that determines how the ForegroundSource image is blended onto the background image.
- blendFunction
Type: Lumia.Imaging.Compositing.BlendFunction
Blend function to use when blending the two images.
level
Type: System.Double
Amount that the blend operation will affect the final result.Range [0, 1], where 0 implies no effect and 1 means full effect.
Version Information
Lumia Imaging SDK
Supported in: 2.0
See Also
BlendFilter.BlendFilter Members
BlendFilter Overload