ColorSwapFilter.ColorDistance Property

Specifies the tolerance level of the effect.

Range [0.0, 1.0].

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

Syntax

public double ColorDistance { get; set; }
'Declaration
Public Property ColorDistance As Double
    Get
    Set
public:
virtual property double ColorDistance {
    double get () sealed;
    void set (double value) sealed;
}
function get_ColorDistance();
function set_ColorDistance(value);

Property Value

Type: Double

Remarks

If the color distance is small, only a small variation around the color defined with SourceColor will be converted to SwapColor.

Default is 0.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

ColorSwapFilter Class

ColorSwapFilter.ColorSwapFilter Members

Lumia.Imaging.Artistic Namespace