Table of Contents

Class GaussianBlurEffect2.Props

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll
public sealed class GaussianBlurEffect2.Props : CustomEffectProperties
Inheritance
GaussianBlurEffect2.Props
Inherited Members

Constructors

Props()

Properties

AlphaMode

Specifies the alpha mode for the input and the output.
The default value is Premultiplied.

BorderMode

The mode used to calculate the border of the image.
When set to BorderMode.Soft, the effect pads the image with transparent black pixels as it applies the blur kernel, resulting in a soft edge. The output will be larger than the input by approximately StandardDeviation3 pixels (the blur radius) when using the Speed, Balanced, or Quality optimizations. The output will be larger than the input by approximately StandardDeviation6 pixels when using the HighQuality optimization.
When set to BorderMode.Hard, the effect clamps the output to the size of the input image. When the effect applies the blur kernel, it extends the input image with a mirror-type border transform for samples outside of the input bounds.
The default value is BorderMode.Soft.

Input
Optimization

The optimization mode. The default value is HighQuality.

StandardDeviation

The amount of blur to be applied to the image. You can compute the blur radius of the kernel by multiplying the standard deviation by 3. You can compute the standard deviation by dividing the blur radius by 3. The units of both the standard deviation and blur radius are DIPs. A value of zero disables this effect entirely.
You can use the StandardDeviation class to simplify conversion between standard deviation and radius.
The range of this value is [0, 100], which corresponds to a blur radius of [0, 300].
The default value is 3.

Methods

CreateImpl()
GetAuthor()
GetCategory()
GetDescription()
GetDisplayName()