ColorSwapEffect Members

Include Protected Members
Include Inherited Members

The ColorSwapEffect type exposes the following members.

Constructors

  Name Description
Public method ColorSwapEffect()
Creates and initializes a new ColorSwapEffect.
Public method ColorSwapEffect(IImageProvider)
Creates and initializes a new Cartoon effect that uses the provided image source.
Public method ColorSwapEffect(Color, Color, Double, Boolean, Boolean)
Creates and initializes a new ColorSwapEffect with specified settings.
Public method ColorSwapEffect(IImageProvider, Color, Color, Double, Boolean, Boolean)
Creates and initializes a new ColorSwapEffect with specified image source and settings.

Methods

  Name Description
Public method Clone
Clone the image provider.
Public method CreateImageWorker
Create a worker that can perform image processing.
Public method GetBitmapAsync
Public method GetInfoAsync
This method is no longer supported and should not be called. See remarks.
Public method GetSources
Public method Lock
Public method PreloadAsync
This method is no longer supported and should not be called. See remarks.
Public method SetSource
Set a source by index.

Extension Methods

  Name Description
Public Extension Method AsAnimationFrame
Returns an AnimationFrame with the specified IImageProvider as its source and the specified frame duration.
(Defined by ImageProviderExtensions.)
Public Extension Method Then<TImageConsumer>
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.)

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 PropertyDescriptions
Public property Source
The IImageProvider that will be used as source.
Public property SourceColor
Specifies the color that should be converted.
Public property SourceCount
The number of sources that can be set.
Public property SupportedRenderOptions
Supported rendering options.
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

ColorSwapEffect Class

Lumia.Imaging.Artistic Namespace