Table of Contents

Property SaturationFactor

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll

SaturationFactor

Specifies a value for changing each pixel's saturation. A pixel's saturation ranges from 0 (unsaturated/grey) to 1 (fully saturated).
If the value is set to 1.0, saturation will be unchanged.
If the value is set to 0, the image will be completely desaturated.
For values less than 1.0, the saturation will be multiplied by the value.
For values greater than 1.0, the saturation will be multiplied by 1+((value-1)*3), which effectively amplifies the scaling by 3x.
The range of this value is [0, 2], which corresponds to the UI's range of [0, 200].
The default value is 1.

public EffectPropertyAccessor<float> SaturationFactor { get; }

Property Value

EffectPropertyAccessor<float>