LensBlurEffect Members
Include Protected Members
Include Inherited Members
The LensBlurEffect type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
LensBlurEffect() | Creates and initializes a new LensBlurEffect. |
![]() |
LensBlurEffect(IImageProvider) | Creates and initializes a new LensBlurEffect with a source and default values. |
![]() |
LensBlurEffect(IImageProvider, ILensBlurKernel) | Creates and initializes a new LensBlurEffect with the specified source and kernel. |
![]() |
LensBlurEffect(IImageProvider, IImageProvider) | Creates and initializes a new LensBlurEffect with the specified source, kernel map and default values. |
![]() |
LensBlurEffect(IImageProvider, IImageProvider, ILensBlurKernel) | Creates and initializes a new LensBlurEffect with the specified source, kernel map and kernel. |
![]() |
LensBlurEffect(IImageProvider, IImageProvider, IVectorView) |
Initializes a new instance of the LensBlurEffect class
|
![]() |
LensBlurEffect(IImageProvider, IImageProvider, IReadOnlyList<ILensBlurKernel>) |
Initializes a new instance of the LensBlurEffect class
|
Methods
Name | Description | |
---|---|---|
![]() |
Clone |
Clone the image provider.
|
![]() |
Close | |
![]() |
CreateImageWorker |
Create a worker that can perform image processing.
|
![]() |
GetBitmapAsync(Void, Bitmap) | |
![]() |
GetBitmapAsync(Bitmap, OutputOption) |
Creates a Bitmap from the contents of the image provider.
|
![]() |
GetInfoAsync |
This method is no longer supported and should not be called. See remarks.
|
![]() |
GetSources | |
![]() |
Lock |
This method is no longer supported and should not be called. See remarks.
|
![]() |
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.) |
![]() |
GetBitmapAsync |
Creates a WriteableBitmap with the contents of the image provider.
(Defined by ImageProviderExtensions.) |
![]() |
Then<TImageConsumer> |
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.) |
Properties
Name | Description | |
---|---|---|
![]() |
BlendKernelWidth | The width of the band between out of focus areas blurred with different kernels that gets blended, thus providing a smooth transition. Range [0, 255]. |
![]() |
FocusAreaEdgeMirroring | Determines whether pixels in the focus area should be sampled when applying blur. If mirroring is on, then samples that would be located inside the focus area are instead taken from a mirrored location outside it. Default value is On. |
![]() |
FocusEdgeSoftening | Determines if and how much of the edge of the focus area will be softened. The default value is Medium. |
![]() |
KernelMap | An image source representing a kernel map, specifying which kernel should be used on each pixel. Each pixel either gets blurred with one of the kernels, or is not blurred and considered to be a part of the focus area. Kernels are referenced via zero-based indices, e.g. the area that is to be blurred with the first kernel should be referred to by 0, the second kernel by the value of 1 and so forth. Pixels in the focus area should be marked with the value 255. The maximum number of kernels is 250. |
![]() |
KernelMapType | Determines how the kernel map values should be interpreted. The default value is ForegroundMask. |
![]() |
Kernels | Kernels used to blur the out of focus areas of the source image. |
![]() |
PointLightStrength |
The strength with which a point of light is rendererd. Range [1, 10].
|
![]() |
PropertyDescriptions | |
![]() |
Quality | Quality of the result. Changing quality of the effect affects time and memory consumption of the effect by adjusting the working size. The working size of the effect is dependent on the Source's size, so a lower Quality value might be necessary to avoid an OutOfMemoryException. Range [0.0, 1.0]. Default value is 1. |
![]() |
Source |
The IImageProvider that will be used as source.
|
![]() |
SourceCount |
The number of sources that can be set.
|
![]() |
SupportedRenderOptions |
Supported rendering options.
|