ChromaKeyFilter Constructor (Color, Double)

Creates and initializes a new ChromaKeyFilter with specified color and distance values.

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

Lumia.Imaging.Compositing.ChromaKeyFilter = function(color, colorDistance);

Parameters

color
Type: Windows.UI.Color
The chroma key color that will be made transparent.

The alpha component will be ignored.

colorDistance
Type: System.Double
Specifies how much variation around the chroma key color will be considered for transparency.

Range [0.0, 1.0].

If the color distance is small, only a small variation around the chroma key color will be considered for transparency.

Lumia Imaging SDK

Supported in: 2.0
Show: