Table of Contents

Class GaussianBlurMapEffect.Props

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll
public sealed class GaussianBlurMapEffect.Props : CustomEffectProperties
Inheritance
GaussianBlurMapEffect.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

Provides the input image for the effect.

MapIsNormalized

Specifies whether the StandardDeviationMap input image is normalized.

If this value is true, the map's alpha values are expected to be in the range [0, 1]. The standard deviation at each pixel will be the map's alpha value multiplied by MaxStandardDeviation.
If this value is false, the map's alpha values are used directly.
The default value is true, which affords easily using the output of most effects as the map input for this effect.

MaxStandardDeviation

Specifies the maximum blur radius (standard deviation) that is rendered. If the StandardDeviationMap contains pixels specifying a standard deviation larger than this value, then they will be clamped to this value.

The range of this value is [0, 100]. The default value is 10.

Optimization

The optimization mode. The default value is Quality.

StandardDeviationLevels

Specifies the number of blur levels to be rendered. The image will be blurred this many times with an increasing blur radius based on the value of MaxStandardDeviation. Increasing this value will improve quality, but also reduce performance.

The range of this value is [1, 30]. The default value is 10.

StandardDeviationMap

Provides an image where each pixel's alpha component specifies the standard deviation for blurring at that location. Depending on the value of the MapIsNormalized property, this image should either have normalized values in the [0, 1] range, or non-normalized values that are in the [0, MaxStandardDeviation] range.

Methods

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