Class PdnSketchBlurEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnSketchBlurEffect.Props : CustomEffectProperties
- Inheritance
-
PdnSketchBlurEffect.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. The default value is Mirror.
- InputColorContext
Specifies the color context of the Input image, which is used to optimize the quality of this effect's rendering.
- Percentile
Specifies the percentile to use when approximating the median. Lower values result in darkened/eroded results, while higher values result in brightened/dilated results.
The range is [0,1] which correspond's to the UI's range of [0, 100]. The default value is 0.5f.
- Radius
The radius of the effect. A value of 0 will disable the effect.
Performance scales with the square of this property value. Doubling the radius will quadruple the rendering time.
The valid range is [0, 100], the default is 25.
- Smoothness
Specifies how much smoothing is applied. This controls the number of rendering passes (iterations). Higher values will produce results that are close to an actual median effect, but will lose some of the coarse- grained sketchiness of lower values.
Performance scales linearly with this property value. For example, a value of 5 will take approximately 5 times as long to render than using a value of 1.
The range is [1, 20], the default value is 3.