Table of Contents

Class GaussianBlurEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use the Gaussian blur effect to create a blur based on the Gaussian function over the entire input image.

You can use this effect to create glows and drop shadows and use the composite effect to apply the result to the original image. It is useful in photo processing for filters like highlights and shadows.

You can use the output of this effect for input into lighting effects, like the Specular Lighting or Diffuse Lighting effects, because the alpha channel is blurred too, and lighting effects use the alpha channel to determine surface geometry as a height map.

This effect is used by the built-in ShadowEffect.

For more information, see Gaussian blur effect

public sealed class GaussianBlurEffect : DeviceEffect<GaussianBlurEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IInternalImpl, IObjectRef, IIsDisposed, IDisposable
Inheritance
GaussianBlurEffect
Implements
Inherited Members
Extension Methods

Constructors

GaussianBlurEffect(IDeviceEffectFactory)