Class SquareBlurEffect.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class SquareBlurEffect.Props : CustomEffectProperties
- Inheritance
-
SquareBlurEffect.Props
- Inherited Members
Constructors
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 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 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 Soft.
- Radius
The amount of blur to be applied to the image.
The range of this value is [0, 300]. The default value is 9.