Share via


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

Syntax

public ChromaKeyFilter(
    Color color,
    double colorDistance
)
'Declaration
Public Sub New ( 
    color As Color,
    colorDistance As Double
)
public:
ChromaKeyFilter(
    [InAttribute] Color color, 
    [InAttribute] double colorDistance
)
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.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

ChromaKeyFilter Class

ChromaKeyFilter.ChromaKeyFilter Members

ChromaKeyFilter Overload

Lumia.Imaging.Compositing Namespace