ColorSwapEffect Members
Include Protected Members
Include Inherited Members
The ColorSwapEffect type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ColorSwapEffect() |
Creates and initializes a new ColorSwapEffect.
|
|
ColorSwapEffect(IImageProvider) |
Creates and initializes a new Cartoon effect that uses the provided image source.
|
|
ColorSwapEffect(Color, Color, Double, Boolean, Boolean) |
Creates and initializes a new ColorSwapEffect with specified settings.
|
|
ColorSwapEffect(IImageProvider, Color, Color, Double, Boolean, Boolean) |
Creates and initializes a new ColorSwapEffect with specified image source and settings.
|
Methods
Name | Description | |
---|---|---|
Clone |
Clone the image provider.
|
|
CreateImageWorker |
Create a worker that can perform image processing.
|
|
GetBitmapAsync | ||
GetInfoAsync |
This method is no longer supported and should not be called. See remarks.
|
|
GetSources | ||
Lock | ||
PreloadAsync |
This method is no longer supported and should not be called. See remarks.
|
|
SetSource |
Set a source by index.
|
Extension Methods
Name | Description | |
---|---|---|
AsAnimationFrame |
Returns an AnimationFrame with the specified IImageProvider as its source and the specified frame duration.
(Defined by ImageProviderExtensions.) |
|
Then<TImageConsumer> |
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.) |
Properties
Name | Description | |
---|---|---|
ColorDistance | Specifies the tolerance level of the effect. Range [0.0, 1.0]. |
|
IsMonoColor |
Specifies if the other colors should be converted to grayscale or be preserved.
|
|
PropertyDescriptions | ||
Source |
The IImageProvider that will be used as source.
|
|
SourceColor |
Specifies the color that should be converted.
|
|
SourceCount |
The number of sources that can be set.
|
|
SupportedRenderOptions |
Supported rendering options.
|
|
SwapColor |
Specifies which color SourceColor should be converted to.
|
|
SwapLuminance |
Controls if the luminance should be included in the color swap.
|