Class PdnOutlineEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnOutlineEffect.Props : CustomEffectProperties
- Inheritance
-
PdnOutlineEffect.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 Transparent.
- Intensity
The intensity of the effect. This indirectly specifies the range of percentiles used to drive the underlying median approximation algorithm. An intensity value of 0.5f will render the difference between percentiles of 0.25 and 0.75. To calculate the range, use:
percentileLo = (1 - intensity) / 2
percentileHi = (1 + intensity) / 2
The range is [0, 1]. The default value is 0.5f.
- PrecisionBits
Specifies how many bits of precision are generated from the median approximation algorithm.
Higher values will have lower performance. The current implementation will also have better performance when using an even number for this property value.
The range is [1,12]. The default value is 8, which produces 8-bits of precision and is appropriate for most images.
- 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 range is [0, 70]. The default value is 3.