Class BokehBlurEffect.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class BokehBlurEffect.Props : CustomEffectProperties
- Inheritance
-
BokehBlurEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode for the input and output. The default value is Premultiplied.
- EdgeMode
Specifies how samples outside the bounds of the input image are calculated.
If this value is Transparent, the effect pads the image with transparent pixels as it applies the blur 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 Transparent.
- Quality
The quality of the bokeh effect. Performance is affected linearly. For example, a quality of 6 takes about twice as long to render as a quality value of 3.
The range is [1, 10] and the default is 3.
- Radius
The radius of the bokeh effect. A value of 0 will disable the blur effect.
The valid range is [0, 300], the default is 25.