MonoColorEffect Constructor (IImageProvider, Color, Double)

Creates and initializes a new MonoColorEffect with specified image source and settings for the color to be preserved.

Namespace: Lumia.Imaging.Artistic
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Lumia.Imaging.Artistic.MonoColorEffect = function(imageSource, preserveColor, colorDistance);

Parameters

imageSource
Type: Lumia.Imaging.IImageProvider
An image source for the effect.
preserveColor
Type: Windows.UI.Color
The color that will be preserved.
colorDistance
Type: System.Double
Specifies the tolerance level of the effect.

Range [0.0, 1.0].

Lumia Imaging SDK

Supported in: 3.0
Show: