Class PdnOrderedDitherEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnOrderedDitherEffect.Props : CustomEffectProperties
- Inheritance
-
PdnOrderedDitherEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode for the input and the output. Alpha is never dithered, so this only controls whether the input is unpremultiplied before, and the output premultiplied after.
The default value is Premultiplied.
- Levels
Specifies how many evenly spaced levels each channel is quantized to. The range is [2, 64]. The default value is 4.
- Matrix
Specifies the threshold matrix that is tiled across the image. The default value is Bayer8x8.
- Seed
Specifies the seed that the noise matrices are generated from. The default value is 0.
- Strength
Specifies how strongly the dither pattern perturbs the quantization threshold, as a fraction of the full per-level offset. The range is [0, 1]. The default value is 1.