Class PdnSurfaceBlurEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnSurfaceBlurEffect.Props : CustomEffectProperties
- Inheritance
-
PdnSurfaceBlurEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode for the input and output.
The default value is Premultiplied.
- EdgeMode
Specifies how sampling beyond the edge of the image should be performed.
If this value is Transparent, the effect pads the image with transparent pixels as it applies the kernel, resulting in a soft edge. The output will be larger than the input by approximately the blur radius, in pixels.
If set to another edge mode, the effect clamps the output to the size of the input image.
The default value is Mirror.
- Radius
Specifies the radius of the bilateral filter.
The range is [0, 50], and the default value is 6.
- Threshold
Specifies the threshold for determining whether a pixel should be included in the blurring. Lower values decrease the blurring effect.
The range is [0, 0.01], and the value value is 0.15.