Share via


ColorSwapFilter Members

Include Protected Members
Include Inherited Members

The ColorSwapFilter type exposes the following members.

Constructors

  Name Description
Public method ColorSwapFilter()
Creates and initializes a new ColorSwapFilter with default values.
Public method ColorSwapFilter(Color, Color, Double, Boolean, Boolean)
Creates and initializes a new ColorSwapFilter with specified settings.

Methods

  Name Description
Public method Apply
Internal framework method.
Public method Lock
Internal framework method.
Public method PrepareAsync
Internal framework method.

Properties

  Name Description
Public property ColorDistance

Specifies the tolerance level of the effect.

Range [0.0, 1.0].

Public property IsMonoColor
Specifies if the other colors should be converted to grayscale or be preserved.
Public property SourceColor
Specifies the color that should be converted.
Public property SwapColor
Specifies which color SourceColor should be converted to.
Public property SwapLuminance
Controls if the luminance should be included in the color swap.

See Also

ColorSwapFilter Class

Lumia.Imaging.Artistic Namespace